[Bug target/57232] wcstol.c:213:1: internal compiler error

aoliva at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 19 09:56:00 GMT 2014


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

Alexandre Oliva <aoliva at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |aoliva at gcc dot gnu.org

--- Comment #15 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Mine.  It looks like the call to cselib_preserve_cfa_base_value in
vt_initialize should be guarded by some conditions, like this:

      if (reg != hard_frame_pointer_rtx && fixed_regs[REGNO (reg)])
    cselib_preserve_cfa_base_value (val, REGNO (reg));

This fixes the reported problem for me (though I haven't otherwise regtested
it).  Daniel, Jon, Nick, Sebastian, does it fix the problem for you?



More information about the Gcc-bugs mailing list