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: "anitha.boyapati at atmel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 Jun 2011 04:15:01 +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 #8 from Anitha Boyapati <anitha.boyapati at atmel dot com> 2011-06-10 04:13:34 UTC ---
(In reply to comment #7)
> Created attachment 24478 [details]
> alternate patch
>
> This patch is probably better.
I agree. But this does not fully solve the problem either.
INCOMING_RETURN_ADDR_RTX is being defined in dwarf2out.c to gcc_unreachable()
:-(
http://gcc.gnu.org/viewcvs/tags/gcc_4_6_0_release/gcc/dwarf2out.c?r1=162889&r2=162917
Due to this, we get an ICE -
../../../../libgcc/../gcc/libgcc2.c: In function '__lshrdi3':
../../../../libgcc/../gcc/libgcc2.c:427:1: internal compiler error: in
dwarf2out_frame_debug_expr, at dwarf2out.c:2677