[Issue 1516] New: code gen bug with reclusive call
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 18 20:59:59 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1516
Summary: code gen bug with reclusive call
Product: D
Version: 1.018
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: wrong-code
Severity: major
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: shro8822 at vandals.uidaho.edu
the attached code compile and seg-vs the first time the function goes
recursive. removing the notes lines from before the call fixes this. Also using
"-O" fixes it.
I suspect a issue with register selection because at the ASM level the
differences seems to only be the choice of register.
confirmed on Linux
BTW, the when the code works it runs into a stack overflow because I skipped
the terminal case in the function. That is Not the seg-v that is at issue.
--
More information about the Digitalmars-d-bugs
mailing list