[Issue 5086] Regression(1.061): Stack overflow with recursive alias declaration

2011-04-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5086



--- Comment #6 from Iain Buclaw ibuc...@ubuntu.com 2011-04-21 07:32:10 PDT ---
Created an attachment (id=946)
issue5086

Yep, that questionable change broke tango build - should now be sorted.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5086] Regression(1.061): Stack overflow with recursive alias declaration

2011-04-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5086


Iain Buclaw ibuc...@ubuntu.com changed:

   What|Removed |Added

 CC||siegelords_ab...@yahoo.com


--- Comment #4 from Iain Buclaw ibuc...@ubuntu.com 2011-04-20 00:03:07 PDT ---
*** Issue 4892 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 5086] Regression(1.061): Stack overflow with recursive alias declaration

2011-04-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5086



--- Comment #5 from Iain Buclaw ibuc...@ubuntu.com 2011-04-20 01:43:46 PDT ---
Created an attachment (id=945)
issue5086

Patch for D1 - I'm not entirely sure on the correctness of the first hunk.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5086] Regression(1.061): Stack overflow with recursive alias declaration

2010-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5086


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

 CC||ibuc...@ubuntu.com


--- Comment #3 from Don clugd...@yahoo.com.au 2010-11-12 08:03:42 PST ---
*** Issue 4794 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 5086] Regression(1.061): Stack overflow with recursive alias declaration

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5086


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

Summary|Regression(1.062): Stack|Regression(1.061): Stack
   |overflow with recursive |overflow with recursive
   |alias declaration   |alias declaration


--- Comment #2 from Don clugd...@yahoo.com.au 2010-10-22 00:45:53 PDT ---
Regression was introduced in 1.061 by the fix to bug 4016, in expression.c,
DsymbolExp::semantic()

 //printf(Identifier '%s' is a variable, type '%s'\n, toChars(),
v-type-toChars());
 if (!type)
{
+   if (!v-type  v-scope)
+v-semantic(v-scope);
type = v-type;
 if (!v-type)
 {error(forward reference of %s %s, v-kind(), v-toChars());

The code doesn't fail on D2, because v-scope is not set on D2.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---