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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 5 03:08:36 PST 2014


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 at puremagic.com
        ReportedBy: andreas.kader at funkwerk-itk.com


--- Comment #0 from Andy <andreas.kader at 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: -------


More information about the Digitalmars-d-bugs mailing list