August 13, 2010 [Issue 1041] regression: incorrect code generation for scope(exit) inside switch | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1041 --- Comment #9 from Iain Buclaw <ibuclaw@ubuntu.com> 2010-08-13 00:32:59 PDT --- Just to note before I'm off, no you cannot build phobos using the above. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 13, 2010 [Issue 1041] regression: incorrect code generation for scope(exit) inside switch | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1041 --- Comment #10 from Michael P <baseball.mjp@gmail.com> 2010-08-13 13:24:01 PDT --- Well, the error in std/string.d is quite odd, because it has nothing to do with switch statements. Commenting out the code in ifind in the else statement to look like this: (Look lines 352-357) /*foreach (ptrdiff_t i, dchar c2; s) { c2 = std.uni.toUniLower(c2); if (c1 == c2) return i; }*/ Makes it compile string.d okay. The next problems found in std/regexp.d can be simplified to this: void main() { switch( 1 ) { case 1: switch(1) { default: } break; } } Basically: nested switch statements seem to be a problem with the patch. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 14, 2010 [Issue 1041] regression: incorrect code generation for scope(exit) inside switch | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1041 --- Comment #11 from Iain Buclaw <ibuclaw@ubuntu.com> 2010-08-14 02:11:55 PDT --- Created an attachment (id=716) issue 1041 attempt #2 Second round, works without frizzles. Though I'd still prefer it if you'd take it with a pinch of salt. :-) IMO, I think it would be better if we'd implement a smarter framework for testing which scope we are in. But I'll leave that with you to decide Michael. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 16, 2010 [Issue 1041] regression: incorrect code generation for scope(exit) inside switch | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1041 Iain Buclaw <ibuclaw@ubuntu.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #716 is|1 |0 patch| | Attachment #716 is|0 |1 obsolete| | -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 17, 2010 [Issue 1041] regression: incorrect code generation for scope(exit) inside switch | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1041 Iain Buclaw <ibuclaw@ubuntu.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #12 from Iain Buclaw <ibuclaw@ubuntu.com> 2010-08-16 18:19:14 PDT --- Fixed. Still uses some chicanery to get the job done. But a little better at doing it. See hg commit 197 / release 0.25 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation