Bug 13259 – [ICE] 'v.result' on line 191 in file 'todt.c'

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-08-05T09:58:00Z
Last change time
2014-08-22T08:05:14Z
Keywords
ice, pull
Assigned to
nobody
Creator
jblume

Comments

Comment #0 by jblume — 2014-08-05T09:58:11Z
auto x = delegate {}; This single line causes v2.066.0-rc1 to crash: main.d(1): Error: non-constant nested delegate literal expression __dgliteral3 Assertion failure: 'v.result' on line 191 in file 'todt.c'
Comment #1 by k.hara.pg — 2014-08-05T14:05:11Z
It's a regression issue because it doesn't occur ICE with 2.065. https://github.com/D-Programming-Language/dmd/pull/3847
Comment #2 by github-bugzilla — 2014-08-05T16:10:42Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ad0b1f67e33a435a65606236f66675e79b6da833 fix Issue 13259 - [ICE] 'v.result' on line 191 in file 'todt.c' https://github.com/D-Programming-Language/dmd/commit/7eaf10617cc9151311a9d9a6fab3399cfdc98682 Merge pull request #3847 from 9rnsr/fix13259 [REG2.066a] Issue 13259 - [ICE] 'v.result' on line 191 in file 'todt.c'
Comment #3 by github-bugzilla — 2014-08-08T02:59:19Z
Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/4a95e836a667b12ffaef7303aa83b447223e3567 Merge pull request #3847 from 9rnsr/fix13259 [REG2.066a] Issue 13259 - [ICE] 'v.result' on line 191 in file 'todt.c'
Comment #4 by github-bugzilla — 2014-08-22T08:05:14Z