This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/48466] [4.4 Regression] Wrong variable locations at -O0 on i686
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 7 Apr 2011 21:28:39 +0000
- Subject: [Bug debug/48466] [4.4 Regression] Wrong variable locations at -O0 on i686
- Auto-submitted: auto-generated
- References: <bug-48466-4@http.gcc.gnu.org/bugzilla/>
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