[Issue 6401] New: infinite loop with -inline in gflow.c:accumaecpx
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jul 29 09:42:59 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6401
Summary: infinite loop with -inline in gflow.c:accumaecpx
Product: D
Version: D2
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: mrmocool at gmx.de
--- Comment #0 from Trass3r <mrmocool at gmx.de> 2011-07-29 09:42:57 PDT ---
While trying to compile GtkD dmd was trapped in an infinite loop.
It happens when running 'dmd -v -release -O -inline -m64 -Isrc -c
src/gtkc/gtk.d -ofsrc/gtkc/gtk.o' and doesn't occur when removing -inline.
Unfortunately I couldn't reduce it yet, so here's the original:
http://www.dsource.org/projects/gtkd/browser/trunk/src/gtkc/gtk.d?rev=865
#3300 0x00000000004d513f in accumaecpx (n=0x7d9cfec) at backend/gflow.c:1041
#3301 0x00000000004d513f in accumaecpx (n=0x7d9bac0) at backend/gflow.c:1041
else if (OTbinary(op))
{
if (OTrtol(op) && ERTOL(n))
{ accumaecpx(n->E2);
accumaecpx(n->E1);
}
else
{ accumaecpx(n->E1);
---> accumaecpx(n->E2);
}
if (OTassign(op)) // if assignment operator
t = Elvalue(n);
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list