This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/48459] [4.6/4.7 Regression] avr: Assertion failure with -gdwarf-2
- From: "rth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Jun 2011 19:14:17 +0000
- Subject: [Bug debug/48459] [4.6/4.7 Regression] avr: Assertion failure with -gdwarf-2
- Auto-submitted: auto-generated
- References: <bug-48459-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48459
--- Comment #23 from Richard Henderson <rth at gcc dot gnu.org> 2011-06-14 19:13:04 UTC ---
Author: rth
Date: Tue Jun 14 19:13:00 2011
New Revision: 175049
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175049
Log:
PR debug/48459
* dwarf2out.c (frame_pointer_fb_offset_valid): New.
(based_loc_descr): Assert it's true.
(compute_frame_pointer_to_fb_displacement): Set it, rather than
aborting immediately.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/dwarf2out.c