[Issue 4460] Regression(2.036) ICE(e2ir.c) when compiling foreach over associative array literal
http://d.puremagic.com/issues/show_bug.cgi?id=4460 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||d...@dawgfoto.de --- Comment #11 from Don clugd...@yahoo.com.au 2012-04-11 01:01:07 PDT --- *** Issue 5675 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4460] Regression(2.036) ICE(e2ir.c) when compiling foreach over associative array literal
http://d.puremagic.com/issues/show_bug.cgi?id=4460 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED --- Comment #10 from Walter Bright bugzi...@digitalmars.com 2011-08-02 12:14:41 PDT --- https://github.com/D-Programming-Language/dmd/commit/dd2cf0493ef3e80e36b3f5206b2eac86d337c58b https://github.com/D-Programming-Language/dmd/commit/c09e14ed2a010b38562a416537ba84871bccc577 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4460] Regression(2.036) ICE(e2ir.c) when compiling foreach over associative array literal
http://d.puremagic.com/issues/show_bug.cgi?id=4460 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com --- Comment #9 from yebblies yebbl...@gmail.com 2011-07-10 15:04:57 EST --- https://github.com/D-Programming-Language/dmd/pull/221 This also re-enables the check that the index is not ref, and a couple of others. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4460] Regression(2.036) ICE(e2ir.c) when compiling foreach over associative array literal
http://d.puremagic.com/issues/show_bug.cgi?id=4460 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||jmdavisp...@gmx.com --- Comment #7 from Don clugd...@yahoo.com.au 2011-04-28 08:41:30 PDT --- *** Issue 5590 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4460] Regression(2.036) ICE(e2ir.c) when compiling foreach over associative array literal
http://d.puremagic.com/issues/show_bug.cgi?id=4460 --- Comment #8 from Iain Buclaw ibuc...@ubuntu.com 2011-04-28 13:49:27 PDT --- You know I never actually checked to see if this patch worked in DMD... ... it doesn't work DMD. Now why would that be? Seems to because of a similar reason to issue5683 - backend is simply not getting the passing of the value right. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4460] Regression(2.036) ICE(e2ir.c) when compiling foreach over associative array literal
http://d.puremagic.com/issues/show_bug.cgi?id=4460 Iain Buclaw ibuc...@ubuntu.com changed: What|Removed |Added Keywords||patch CC||ibuc...@ubuntu.com --- Comment #6 from Iain Buclaw ibuc...@ubuntu.com 2011-04-23 12:39:40 PDT --- Patch: diff --git a/src/mtype.c b/src/mtype.c index f8ad06e..1d1fcd6 100644 --- a/src/mtype.c +++ b/src/mtype.c @@ -4173,6 +4173,17 @@ Expression *TypeAArray::dotExp(Scope *sc, Expression *e, Identifier *ident) else #endif { +/* Create a new temporary variable for literal arrays. + */ +if (e-op == TOKassocarrayliteral) +{ +Identifier *idtmp = Lexer::uniqueId(__aatmp); +VarDeclaration *aatmp = new VarDeclaration(loc, e-type, idtmp, new ExpInitializer(0, e)); +aatmp-storage_class |= STCctfe; +Expression *ae = new DeclarationExp(loc, aatmp); +e = new CommaExp(loc, ae, new VarExp(loc, aatmp)); +e = e-semantic(sc); +} e-type = getImpl()-type; e = e-type-dotExp(sc, e, ident); //e = Type::dotExp(sc, e, ident); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4460] Regression(2.036) ICE(e2ir.c) when compiling foreach over associative array literal
http://d.puremagic.com/issues/show_bug.cgi?id=4460 Andriy andr...@gmail.com changed: What|Removed |Added CC||andr...@gmail.com --- Comment #5 from Andriy andr...@gmail.com 2011-04-19 07:56:24 PDT --- 2.052 the following still doesn't compile: Internal error: e2ir.c 4835 void main(){ auto a = [k:v].keys; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4460] Regression(2.036) ICE(e2ir.c) when compiling foreach over associative array literal
http://d.puremagic.com/issues/show_bug.cgi?id=4460 Brad Roberts bra...@puremagic.com changed: What|Removed |Added Platform|x86_64 |x86 --- Comment #4 from Brad Roberts bra...@puremagic.com 2011-02-06 15:39:52 PST --- Mass migration of bugs marked as x86-64 to just x86. The platform run on isn't what's relevant, it's if the app is a 32 or 64 bit app. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---