[PATCH] Fix AVR ICE

Tom de Vries vries@codesourcery.com
Tue Sep 20 17:46:00 GMT 2011


Hi Bernd,

this patch fixes an ICE in final.c:final() when building for AVR with
--enable-checking=yes,rtl.
The ICE happens when the jump label is a return, but expected to be a label.

Tested on X86_64 and AVR (courtesy of Johann).

ok for trunk?

Thanks,
- Tom

2011-09-20 Tom de Vries  <tom@codesourcery.com>

	* final.c (final): Handle if JUMP_LABEL is not LABEL_P.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avr-return-label.patch
Type: text/x-patch
Size: 436 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110920/b323aaa3/attachment.bin>


More information about the Gcc-patches mailing list