[Bug debug/48459] [4.6/4.7 Regression] avr: Assertion failure with -gdwarf-2

anitha.boyapati at atmel dot com gcc-bugzilla@gcc.gnu.org
Thu Jun 9 16:54:00 GMT 2011


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

--- Comment #5 from Anitha Boyapati <anitha.boyapati at atmel dot com> 2011-06-09 16:54:11 UTC ---
(In reply to comment #4)
> Created attachment 24475 [details]
> patch
> 
> Here's an untested patch.  Does this fix the problem for you?  Naturally you'll
> want to revert it once dwarf2 unwind info is supported.

I don't think this is a proper fix. Current GCC trunk already has support for
DWARF2 CFI emission. But as per internals, emitting CFI can be optional. So
unless DWARF2_UNWIND_INFO or INCOMING_RETURN_ADDR_RTX is defined, the function
initial_return_save() should not be invoked.



More information about the Gcc-bugs mailing list