This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/12017] ICE: in spill_failure, at reload1.c:1862 with builtin_apply/builtin_return



------- Comment #12 from eweddington at cso dot atmel dot com  2007-08-23 22:26 -------
Seems to be fixed in 4.3 20070817 snapshot.

An additional minor patch is needed, not for this bug, but to allow Objective-C
to build for the AVR. (It's unknown if Objective-C will actually *work* on the
AVR...)

--- gcc/config/avr/avr.h.old    2007-08-23 15:18:31.015625000 -0600
+++ gcc/config/avr/avr.h        2007-08-23 15:19:17.687500000 -0600
@@ -53,7 +53,7 @@ extern int avr_mega_p;
 extern int avr_have_mul_p;
 extern int avr_asm_only_p;
 extern int avr_have_movw_lpmx_p;
-#ifndef IN_LIBGCC2
+#if !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS)
 extern GTY(()) section *progmem_section;
 #endif



-- 

eweddington at cso dot atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.3.0
   Target Milestone|---                         |4.3.0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]