Bug 12517 – [ICE] Assertion failure: 'global.gaggedErrors || global.errors' on line 275 in file 'statement.c'

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-04-04T05:44:00Z
Last change time
2014-04-04T05:57:55Z
Keywords
ice
Assigned to
nobody
Creator
dmitry.olsh

Comments

Comment #0 by dmitry.olsh — 2014-04-04T05:44:13Z
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
Comment #1 by andrej.mitrovich — 2014-04-04T05:47:56Z
Can't recreate with DMD commit 497b168. Which commit are you using, and any special flags?
Comment #2 by k.hara.pg — 2014-04-04T05:51:41Z
*** This issue has been marked as a duplicate of issue 12501 ***
Comment #3 by dmitry.olsh — 2014-04-04T05:57:55Z
(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