www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12517] New: [ICE] Assertion failure: 'global.gaggedErrors || global.errors' on line 275 in file 'statement.c'

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

           Summary: [ICE] Assertion failure: 'global.gaggedErrors ||
                    global.errors' on line 275 in file 'statement.c'
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: dmitry.olsh gmail.com


--- Comment #0 from Dmitry Olshansky <dmitry.olsh gmail.com> 2014-04-04
05:44:13 PDT ---
Sample code:

struct CodepointInterval
{
uint[] _tuple;
alias _tuple this;
}

struct DecompressedIntervals
{
CodepointInterval _front;

void popFront()
{
_front[] = decompressFrom;
}

}

Tested on DMD v2.066 alpha.

Output:

Assertion failure: 'global.gaggedErrors || global.errors' on line 275 in file
'statement.c'

abnormal program termination

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


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2014-04-04
14:47:56 CEST ---
Can't recreate with DMD commit 497b168. Which commit are you using, and any
special flags?

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


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

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


--- Comment #2 from Kenji Hara <k.hara.pg gmail.com> 2014-04-04 05:51:41 PDT ---
*** This issue has been marked as a duplicate of issue 12501 ***

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



--- Comment #3 from Dmitry Olshansky <dmitry.olsh gmail.com> 2014-04-04
05:57:55 PDT ---
(In reply to comment #1)
 Can't recreate with DMD commit 497b168. Which commit are you using, and any
 special flags?

Indeed I use an old version. Last commit had 18 March timestamp. commit 32b1a9662f -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 04 2014