www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6401] New: infinite loop with -inline in gflow.c:accumaecpx

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: mrmocool gmx.de


--- Comment #0 from Trass3r <mrmocool 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: -------
Jul 29 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6401


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla digitalmars.com


--- Comment #1 from Walter Bright <bugzilla digitalmars.com> 2013-10-05
16:47:15 PDT ---
Can you please try dustmite to cut it down to size?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 05 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6401



--- Comment #2 from Trass3r <mrmocool gmx.de> 2013-10-13 00:29:17 CEST ---
I tried back then but didn't succeed.
IIRC we need a way to quickly and reliably detect the infinite loop from a
script.

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