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: Thu, 9 Jun 2011 17:01:22 +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 #6 from Anitha Boyapati <anitha.boyapati at atmel dot com> 2011-06-09 17:00:20 UTC ---
(In reply to comment #4)
> Created attachment 24475 [details]
> patch
>
> Here's an untested patch. Does this fix the problem for you?
I'll try and let you know.
> Naturally you'll
> want to revert it once dwarf2 unwind info is supported.
I think my other comment (#5) is somewhat ambiguous and incomplete. I am
referring to TARGET_DEBUG_UNWIND_INFO being defined in avr.c. In previous
versions it is optional but now it seems mandatory to avoid ICE.