[Issue 6510] [CTFE] "internal error: illegal stack value" when compiled with -inline

2011-08-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6510 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6510] [CTFE] "internal error: illegal stack value" when compiled with -inline

2011-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6510 --- Comment #9 from Don 2011-08-19 05:53:36 PDT --- Further reduced, showing that templates are not required. Seems to require an inlined member function call to a member of a nested struct, called from a nested function. No alias trick works i

[Issue 6510] [CTFE] "internal error: illegal stack value" when compiled with -inline

2011-08-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6510 --- Comment #7 from Dmitry Olshansky 2011-08-17 08:52:15 PDT --- Thanks for getting a workaround so fast, it's just awesome. I confirm that the full source works after I added aliases to Stack!(x). -- Configure issuemail: http://d.puremagic.

[Issue 6510] [CTFE] "internal error: illegal stack value" when compiled with -inline

2011-08-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6510 Don changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #6 from Don 2011-

[Issue 6510] [CTFE] "internal error: illegal stack value" when compiled with -inline

2011-08-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6510 --- Comment #5 from Don 2011-08-17 06:52:06 PDT --- Partially reduced test case. The UNUSED static function seems to be necessary. struct Stack(U) { struct Proxy { int[] data; void shrink(){ data = data[0..0]; } }

[Issue 6510] [CTFE] "internal error: illegal stack value" when compiled with -inline

2011-08-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6510 Dmitry Olshansky changed: What|Removed |Added Summary|[CTFE] internal error: |[CTFE] "internal error: