[Bug debug/48466] [4.4 Regression] Wrong variable locations at -O0 on i686

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 7 21:28:00 GMT 2011


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-07 21:28:02 UTC ---
Author: jakub
Date: Thu Apr  7 21:27:59 2011
New Revision: 172133

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172133
Log:
    Backported from mainline
    2011-04-06  Jakub Jelinek  <jakub@redhat.com>

    PR debug/48466
    * dwarf2out.c (based_loc_descr): If drap_reg is INVALID_REGNUM, use
    as base_reg whatever register reg has been eliminated to, instead
    of hardcoding STACK_POINTER_REGNUM.

Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/dwarf2out.c



More information about the Gcc-bugs mailing list