[Issue 3544] optlink termination 0041338f with recursive nested functions

2017-01-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3544

Walter Bright  changed:

   What|Removed |Added

   Keywords||Optlink

--


[Issue 3544] optlink termination 0041338f with recursive nested functions

2014-04-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3544

Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

Version|1.051   |D1

--


[Issue 3544] optlink termination 0041338f with recursive nested functions

2010-09-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3544


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

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


--- Comment #18 from Don clugd...@yahoo.com.au 2010-09-01 23:55:47 PDT ---
(In reply to comment #17)
 I cannot reproduce this problem. Please show exactly what commands are given 
 to
 dmd and the linker.

dmd -g bug.d
This was crashing with DMD2.048 and link 8.00.2.
I have confirmed that link 8.00.6 fixed this. (And it's stayed fixed in
8.00.7).

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


[Issue 3544] optlink termination 0041338f with recursive nested functions

2010-09-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3544



--- Comment #17 from Walter Bright bugzi...@digitalmars.com 2010-09-01 
19:01:47 PDT ---
I cannot reproduce this problem. Please show exactly what commands are given to
dmd and the linker.

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


[Issue 3544] optlink termination 0041338f with recursive nested functions

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



--- Comment #15 from ante...@freemail.hu 2010-02-11 09:09:12 PST ---
A clear error message would suffice. How could I expect more?
It would not be bad if the stack size for ctfre could be set?
Is there a way to set the stack size for ctfe??

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


[Issue 3544] optlink termination 0041338f with recursive nested functions

2010-01-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3544


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

   What|Removed |Added

   Keywords||ice-on-valid-code


--- Comment #12 from Don clugd...@yahoo.com.au 2010-01-13 00:46:23 PST ---
(In reply to comment #10)
 The test case is crashing in dmd, not optlink. It's a stack overflow.

If you compile in debug mode, it crashes in DMD. If you compile in release
mode, it crashes in OPTLINK.

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


[Issue 3544] optlink termination 0041338f with recursive nested functions

2009-12-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3544



--- Comment #11 from ante...@freemail.hu 2009-12-12 00:06:04 PST ---
Hi,

Should I repost my example?

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


[Issue 3544] optlink termination 0041338f with recursive nested functions

2009-11-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3544


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com


--- Comment #10 from Walter Bright bugzi...@digitalmars.com 2009-11-30 
02:03:52 PST ---
The test case is crashing in dmd, not optlink. It's a stack overflow.

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


[Issue 3544] optlink termination 0041338f with recursive nested functions

2009-11-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3544


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

   What|Removed |Added

Summary|optlink unexpected  |optlink termination
   |termination 0041338f|0041338f with recursive
   ||nested functions


--- Comment #8 from Don clugd...@yahoo.com.au 2009-11-25 05:16:07 PST ---
Completely reduced test case shows it's due to nested functions.
--
char[] foo(int n) {
  if (n == 0)  return void () {};
  return void () { void () { } ~ foo(n-1) ~ };
}

mixin (foo(400));

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


[Issue 3544] optlink termination 0041338f with recursive nested functions

2009-11-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3544



--- Comment #9 from Don clugd...@yahoo.com.au 2009-11-25 05:29:15 PST ---
Even smaller test case. Seems it happens with a depth around 512; it's probably
exceeding the maximum symbol length.
---
char[] foo(int n) {
  return void abcde() { ~ ( n0 ? foo(n-1): ) ~ };
}

mixin (foo(500));

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