Bug 11974 – ICE(cast.c) Segfault with invalid assignment

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-01-22T20:07:00Z
Last change time
2014-01-23T15:31:02Z
Keywords
ice, pull
Assigned to
nobody
Creator
yebblies

Comments

Comment #0 by yebblies — 2014-01-22T20:07:27Z
void main() { 0 = __LINE__ ^^ [ 0 ] ; } DMD v2.065 DEBUG testx.d(1): Error: constant 0 is not an lvalue
Comment #1 by k.hara.pg — 2014-01-22T22:15:27Z
Comment #2 by github-bugzilla — 2014-01-22T23:02:49Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f369af1d02242bd36d7a56fa7a3fd4f6c57c5d1a fix Issue 11974 - ICE(cast.c) Segfault with invalid assignment https://github.com/D-Programming-Language/dmd/commit/6f22eda03e133f2d2bf78a3544099ccef36fd2be Merge pull request #3141 from 9rnsr/fix11974 Issue 11974 - ICE(cast.c) Segfault with invalid assignment
Comment #3 by github-bugzilla — 2014-01-23T15:31:02Z
Commit pushed to release at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6953f88095323294311e09d2dfd699275ba43f21 Merge pull request #3141 from 9rnsr/fix11974 Issue 11974 - ICE(cast.c) Segfault with invalid assignment