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 next 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
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8361


Henning Pohl <henning still-hidden.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |henning still-hidden.de


--- Comment #3 from Henning Pohl <henning still-hidden.de> 2013-05-31 07:24:46
PDT ---
Works using git head, close?

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice, pull


--- Comment #4 from Kenji Hara <k.hara.pg gmail.com> 2013-10-02 20:46:17 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2620

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



--- Comment #5 from github-bugzilla puremagic.com 2013-10-05 00:16:59 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/5c532cf34c114b8ba9ecacd440aa2e12a311ebdf
fix Issue 8361 - [ICE] (eh.c line 316) with struct with dtor in assert

https://github.com/D-Programming-Language/dmd/commit/10b704a7d6fe04b597b0c99e537be4960cba270f
Merge pull request #2620 from 9rnsr/fix8360

Issue 8360 & 8361 - Destruction of uninitialized temporary struct with assert

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


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 05 2013