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



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





            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



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




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