www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12080] New: Internal error: backend/symbol.c 1035 for invariant

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12080

           Summary: Internal error: backend/symbol.c 1035 for invariant
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: andreas.kader funkwerk-itk.com


--- Comment #0 from Andy <andreas.kader funkwerk-itk.com> 2014-02-05 03:08:17
PST ---
The following program does no longer compile with dmd 2.065 Beta 3 with options
-inline -m32:

import std.datetime;

class Foo
{

    Duration foo;
    SysTime bar;
    bool quux;
    string baz;

    invariant()
    {
        assert(baz !is null);
    }

    public SysTime sysTime()
    {
        if (quux)
        {
            return SysTime.max;
        }

        return bar - foo;
    }
}

-----------------

Internal error: backend/symbol.c 1035

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 05 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12080


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice, pull
           Platform|x86_64                      |All
         OS/Version|Linux                       |All


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2014-02-06 06:10:50 PST ---
https://github.com/D-Programming-Language/dmd/pull/3225

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 06 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12080



--- Comment #2 from github-bugzilla puremagic.com 2014-02-06 15:41:30 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/237776b0c0dc2c5619e9e7bf4d4dbf3014313279
fix Issue 12080 - Internal error: backend/symbol.c 1035 for invariant

https://github.com/D-Programming-Language/dmd/commit/342aef4ae052030c7fd30c0691ddcf7d4a1377f5
Merge pull request #3225 from 9rnsr/fix12080

[REG2.065a] Issue 12080 - Internal error: backend/symbol.c 1035 for invariant

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 06 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12080


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 06 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12080



--- Comment #3 from github-bugzilla puremagic.com 2014-02-06 19:34:18 PST ---
Commit pushed to 2.065 at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/aedd41b796c3815ef7a6379643304ccf17f32ac9
Merge pull request #3225 from 9rnsr/fix12080

[REG2.065a] Issue 12080 - Internal error: backend/symbol.c 1035 for invariant

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 06 2014