Bug 14177 – [REG2.066.1] ICE(statement.c) recursive aliases

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-02-14T07:22:00Z
Last change time
2015-02-21T09:11:34Z
Keywords
ice, pull
Assigned to
nobody
Creator
ketmar

Comments

Comment #0 by ketmar — 2015-02-14T07:22:11Z
the following (dustmited) code gives ICE: dmd: statement.c:752: ErrorStatement::ErrorStatement(): Assertion `global.gaggedErrors || global.errors' failed. === cut here === alias Primitive = Atom*; alias Atom = Primitive; void main () { Atom atom; atom; }
Comment #1 by sinkuupump — 2015-02-14T07:58:42Z
Comment #2 by k.hara.pg — 2015-02-14T15:05:36Z
Comment #3 by github-bugzilla — 2015-02-15T11:14:47Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/573b7309ae5adfd8cbc7a76039a0577c2a977597 fix Issue 14177 - ICE(statement.c) recursive aliases https://github.com/D-Programming-Language/dmd/commit/b76633a7a575c48026685638a265d139ec13f9c2 Merge pull request #4412 from 9rnsr/fix14177 [REG2.066.1] Issue 14177 - ICE(statement.c) recursive aliases
Comment #4 by github-bugzilla — 2015-02-21T09:11:34Z