Bug 10106 – [ICE] Ice in glue.c:1215 + 2 error messages without lines

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-17T08:31:00Z
Last change time
2013-05-23T00:58:30Z
Keywords
diagnostic, ice, pull
Assigned to
nobody
Creator
dmitry.olsh

Comments

Comment #0 by dmitry.olsh — 2013-05-17T08:31:08Z
struct GcPolicy{ } alias InversionList!GcPolicy CodepointSet; struct InversionList(SP=GcPolicy) { Uint24Array!SP data; } struct Uint24Array(SP=GcPolicy) { this(this) { } } struct PropertyTable { CodepointSet[string] table; } This sample was obtained with dustmite. Compiling the above with git HEAD dmd (both win32/linux) yields: Error: mutable method gen_uni.InversionList!(GcPolicy).InversionList.__fieldPostBlit is not callable using a const object Error: cannot modify struct this Slot with immutable members Assertion failure: '0' on line 1215 in file 'glue.c' abnormal program termination
Comment #1 by dmitry.olsh — 2013-05-19T04:25:51Z
Compiles fine in 2.062 so this is a regression.
Comment #2 by k.hara.pg — 2013-05-20T06:29:20Z
Comment #3 by bugzilla — 2013-05-20T20:58:58Z
Comment #4 by dmitry.olsh — 2013-05-20T22:48:54Z
(In reply to comment #3) > Fix assert fail: > > https://github.com/D-Programming-Language/dmd/pull/2055 Why the test is 'fail compilation' when it did compile before 2.063?
Comment #5 by github-bugzilla — 2013-05-20T23:56:09Z
Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/ee8aeeb3b6620bc2b3af0328194d864ede369e0a fix Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without lines Workaround for const postblit issue with AA. https://github.com/D-Programming-Language/druntime/commit/9ad245c5b71dbaba03bd75331fc62b652c6d9ca1 Merge pull request #490 from 9rnsr/fix10106 Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without lines
Comment #6 by github-bugzilla — 2013-05-20T23:57:28Z
Commit pushed to 2.063 at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/5165b6a46e98a7b7cff404b4aee5b0fe4d67bc71 Merge pull request #490 from 9rnsr/fix10106 Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without lines
Comment #7 by github-bugzilla — 2013-05-21T09:38:19Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/17e412b5fc19646b5f1db67002cf1a914ed4ed59 fix Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without lines https://github.com/D-Programming-Language/dmd/commit/98e8922b980ac0cf9994800342ee3dc53a210408 Merge pull request #2055 from WalterBright/fix10106 fix Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without li...
Comment #8 by github-bugzilla — 2013-05-23T00:22:40Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/4d42bf6d5c8545959b1a87b40815b6a9e3fdfe5a fix Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without lines https://github.com/D-Programming-Language/dmd/commit/3e61f34dd63b01c7e70918fe1262c606c2445bc5 Merge pull request #2067 from 9rnsr/fix10106 [test only] Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without lines
Comment #9 by github-bugzilla — 2013-05-23T00:58:30Z
Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/9298d34981d5a828e29050432cfb87c026cbb2be Merge pull request #2067 from 9rnsr/fix10106 [test only] Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without lines