http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46337

           Summary: dse.c:replace_inc_dec mis-use of gen_int_mode
           Product: gcc
           Version: 4.4.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: big...@acm.org


Created attachment 22302
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22302
patch equivalent to part of SVN rev 146451

The parameters to gen_int_mode in dse.c:replace_inc_dec are mis-ordered,
causing an ICE if the optimization actually gets applied.  

This was fixed in mainline by Ian Taylor in SVN revision 146451, but apparently
never made it to a 4.4.x release.  Please add it to the next one.

Reply via email to