[Issue 10492] Illegal Instruction for mixin template with scope declarations
https://d.puremagic.com/issues/show_bug.cgi?id=10492 yebblies changed: What|Removed |Added Keywords||EH, wrong-code CC||yebbl...@gmail.com --- Comment #1 from yebblies 2013-11-25 00:17:10 EST --- class TestClass{} mixin template test() { scope var = new TestClass; } void main(){ mixin test!(); } The compiler wraps eh code around the var to run the destructor, and it looks like it fails to restore esp correctly on exit. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10492] Illegal Instruction for mixin template with scope declarations
https://issues.dlang.org/show_bug.cgi?id=10492 yebblies changed: What|Removed |Added Keywords||ice --- Comment #2 from yebblies --- When using a debug build of dmd compiling with -O --b ices the compiler. --
[Issue 10492] Illegal Instruction for mixin template with scope declarations
https://issues.dlang.org/show_bug.cgi?id=10492 yebblies changed: What|Removed |Added Keywords|EH |pull Hardware|x86 |All Assignee|nob...@puremagic.com|yebbl...@gmail.com OS|Windows |All --- Comment #3 from yebblies --- https://github.com/D-Programming-Language/dmd/pull/3815 --
[Issue 10492] Illegal Instruction for mixin template with scope declarations
https://issues.dlang.org/show_bug.cgi?id=10492 --- Comment #4 from Kenji Hara --- (In reply to yebblies from comment #3) > https://github.com/D-Programming-Language/dmd/pull/3815 New PR to fix the issue: https://github.com/D-Programming-Language/dmd/pull/4455 --
[Issue 10492] Illegal Instruction for mixin template with scope declarations
https://issues.dlang.org/show_bug.cgi?id=10492 --- Comment #5 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ee243b618c48d3e99dc6af861cbc89c5c5f1b461 fix Issue 10492 - Illegal Instruction for mixin template with scope declarations --
[Issue 10492] Illegal Instruction for mixin template with scope declarations
https://issues.dlang.org/show_bug.cgi?id=10492 --- Comment #6 from github-bugzi...@puremagic.com --- Commit pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ee243b618c48d3e99dc6af861cbc89c5c5f1b461 fix Issue 10492 - Illegal Instruction for mixin template with scope declarations --