[Issue 6733] Regression(2.054) ICE(cod2.c) struct literals as template arguments

2011-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6733 --- Comment #6 from Don 2011-10-21 05:05:58 PDT --- Reduced test case: void bug6733(int a, int b) pure nothrow { } void main() { int z; bug6733(z++, z++); } This is definitely a backend bug. What happens is, that since it's pure nothro

[Issue 6733] Regression(2.054) ICE(cod2.c) struct literals as template arguments

2011-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6733 --- Comment #5 from Don 2011-10-21 01:19:10 PDT --- Actually this is more a pseudo-regresssion, it's just an expansion of an existing bug into a few more cases. Walter's commit has nothing to do with the root cause. The test case below fails in

[Issue 6733] Regression(2.054) ICE(cod2.c) struct literals as template arguments

2011-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6733 --- Comment #4 from Don 2011-10-21 01:04:13 PDT --- (In reply to comment #3) > I just bisected it down to: > > commit 4c9661fa9fbd427909a334133dfc7f3869e47c31 > Author: Walter Bright > Date: Thu Jun 23 00:50:46 2011 -0700 > > nothrow i

[Issue 6733] Regression(2.054) ICE(cod2.c) struct literals as template arguments

2011-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6733 Brad Roberts changed: What|Removed |Added CC||bra...@puremagic.com --- Comment #3 fro

[Issue 6733] Regression(2.054) ICE(cod2.c) struct literals as template arguments

2011-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6733 Don changed: What|Removed |Added Keywords||ice-on-valid-code CC|