www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8361] New: [ICE] (eh.c line 316) with struct with dtor in assert

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

           Summary: [ICE] (eh.c line 316) with struct with dtor in assert
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: bearophile_hugs eml.cc


--- Comment #0 from bearophile_hugs eml.cc 2012-07-08 07:02:41 PDT ---
Problem found reducing Issue 8360


struct Foo {
    string bar = "hello";
    ~this() {}
}
void main() {
    assert(true, Foo().bar);
}


DMD 2.060alpha:

Internal error: eh.c 316

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 08 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8361


SomeDude <lovelydear mailmetrash.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lovelydear mailmetrash.com


--- Comment #1 from SomeDude <lovelydear mailmetrash.com> 2012-12-31 13:06:30
PST ---
Compiles and runs successfully on 2.060 in DPaste (Linux ?)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 31 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8361



--- Comment #2 from bearophile_hugs eml.cc 2012-12-31 20:57:54 PST ---
(In reply to comment #1)
 Compiles and runs successfully on 2.060 in DPaste (Linux ?)

I confirm the presence of this problem, on 32bit Windows DMD 2.061alpha. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 31 2012