public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/24894] New: ICE building newlib/libc/misc/init.c @ 2005-11-16 15:29 joel at gcc dot gnu dot org 2005-11-16 15:30 ` [Bug target/24894] " joel at gcc dot gnu dot org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: joel at gcc dot gnu dot org @ 2005-11-16 15:29 UTC (permalink / raw) To: gcc-bugs GCC head as of 16 Nov with newlib 1.13.0. Configured as follows: ../gcc-head-test/configure --target=avr-rtems4.7 --enable-threads=rtems --prefix=/home/joel/gcc-41-test/ --with-gnu-as --with-gnu-ld --with-newlib --verbose --with-system-zlib --disable-nls --enable-version-specific-runtime-libs --enable-languages=c Fails with this: home/joel/gcc-work/head/b-avr-rtems4.7/./gcc/xgcc -B/home/joel/gcc-work/head/b-avr-rtems4.7/./gcc/ -nostdinc -B/home/joel/gcc-work/head/b-avr-rtems4.7/avr-rtems4.7/avr3/newlib/ -isystem /home/joel/gcc-work/head/b-avr-rtems4.7/avr-rtems4.7/avr3/newlib/targ-include -isystem /home/joel/gcc-work/head/gcc-head-test/newlib/libc/include -B/home/joel/gcc-41-test//avr-rtems4.7/bin/ -B/home/joel/gcc-41-test//avr-rtems4.7/lib/ -isystem /home/joel/gcc-41-test//avr-rtems4.7/include -isystem /home/joel/gcc-41-test//avr-rtems4.7/sys-include -mmcu=avr3 -DPACKAGE=\"newlib\" -DVERSION=\"1.13.0\" -I. -I../../../../../../gcc-head-test/newlib/libc/misc -Os -DPREFER_SIZE_OVER_SPEED -mcall-prologues -DHAVE_GETTIMEOFDAY -DMALLOC_PROVIDED -DEXIT_PROVIDED -DMISSING_SYSCALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_OPENDIR -DNO_EXEC -DHAVE_FCNTL -fno-builtin -O2 -g -O2 -mmcu=avr3 -c ../../../../../../gcc-head-test/newlib/libc/misc/init.c ../../../../../../gcc-head-test/newlib/libc/misc/init.c: In function '__libc_fini_array': ../../../../../../gcc-head-test/newlib/libc/misc/init.c:59: error: unable to find a register to spill in class 'BASE_POINTER_REGS' ../../../../../../gcc-head-test/newlib/libc/misc/init.c:59: error: this is the insn: (insn 64 31 32 2 ../../../../../../gcc-head-test/newlib/libc/misc/init.c:56 (set (mem/c:HI (plus:HI (reg/f:HI 28 r28) (const_int 1 [0x1])) [5 S2 A8]) (reg:HI 24 r24)) 12 {*movhi} (nil) (nil)) ../../../../../../gcc-head-test/newlib/libc/misc/init.c:59: internal compiler error: in spill_failure, at reload1.c:1890 Preprocessed output attached -- Summary: ICE building newlib/libc/misc/init.c Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: joel at gcc dot gnu dot org GCC target triplet: avr-rtems4.7 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24894 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/24894] ICE building newlib/libc/misc/init.c 2005-11-16 15:29 [Bug c/24894] New: ICE building newlib/libc/misc/init.c joel at gcc dot gnu dot org @ 2005-11-16 15:30 ` joel at gcc dot gnu dot org 2005-11-16 15:37 ` pinskia at gcc dot gnu dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: joel at gcc dot gnu dot org @ 2005-11-16 15:30 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from joel at gcc dot gnu dot org 2005-11-16 15:30 ------- Created an attachment (id=10252) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10252&action=view) Preprocessed file that produces ICE This is the preprocessed output of the file causing the ICE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24894 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/24894] ICE building newlib/libc/misc/init.c 2005-11-16 15:29 [Bug c/24894] New: ICE building newlib/libc/misc/init.c joel at gcc dot gnu dot org 2005-11-16 15:30 ` [Bug target/24894] " joel at gcc dot gnu dot org @ 2005-11-16 15:37 ` pinskia at gcc dot gnu dot org 2005-12-08 17:14 ` berndtrog at yahoo dot com ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-11-16 15:37 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from pinskia at gcc dot gnu dot org 2005-11-16 15:36 ------- I think this is related to PR 19636. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |19636 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24894 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/24894] ICE building newlib/libc/misc/init.c 2005-11-16 15:29 [Bug c/24894] New: ICE building newlib/libc/misc/init.c joel at gcc dot gnu dot org 2005-11-16 15:30 ` [Bug target/24894] " joel at gcc dot gnu dot org 2005-11-16 15:37 ` pinskia at gcc dot gnu dot org @ 2005-12-08 17:14 ` berndtrog at yahoo dot com 2007-06-10 16:43 ` eweddington at cso dot atmel dot com 2008-09-14 12:53 ` aesok at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: berndtrog at yahoo dot com @ 2005-12-08 17:14 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from berndtrog at yahoo dot com 2005-12-08 17:14 ------- PR 19636 fails only when compiled with -Os, while this one fails only when compiled with -O2 or -O3. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24894 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/24894] ICE building newlib/libc/misc/init.c 2005-11-16 15:29 [Bug c/24894] New: ICE building newlib/libc/misc/init.c joel at gcc dot gnu dot org ` (2 preceding siblings ...) 2005-12-08 17:14 ` berndtrog at yahoo dot com @ 2007-06-10 16:43 ` eweddington at cso dot atmel dot com 2008-09-14 12:53 ` aesok at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: eweddington at cso dot atmel dot com @ 2007-06-10 16:43 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from eweddington at cso dot atmel dot com 2007-06-10 16:43 ------- This looks like a duplicate of bug #31786. Closing this bug as #31786 has more analysis in the comments and is confirmed. *** This bug has been marked as a duplicate of 31786 *** -- eweddington at cso dot atmel dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24894 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/24894] ICE building newlib/libc/misc/init.c 2005-11-16 15:29 [Bug c/24894] New: ICE building newlib/libc/misc/init.c joel at gcc dot gnu dot org ` (3 preceding siblings ...) 2007-06-10 16:43 ` eweddington at cso dot atmel dot com @ 2008-09-14 12:53 ` aesok at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: aesok at gcc dot gnu dot org @ 2008-09-14 12:53 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from aesok at gcc dot gnu dot org 2008-09-14 12:51 ------- Subject: Bug 24894 Author: aesok Date: Sun Sep 14 12:50:10 2008 New Revision: 140360 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140360 Log: PR target/19636 PR target/24894 PR target/31644 PR target/31786 * config/avr/avr.c (legitimate_address_p): Fix problem where subreg is not recognized as a valid register usage. Allow REG_X to be used as a base pointer. * config/avr/avr.h (LEGITIMIZE_RELOAD_ADDRESS): Remove code that forces a reload when using a base register. Modified: trunk/gcc/ChangeLog trunk/gcc/config/avr/avr.c trunk/gcc/config/avr/avr.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24894 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-09-14 12:53 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-11-16 15:29 [Bug c/24894] New: ICE building newlib/libc/misc/init.c joel at gcc dot gnu dot org 2005-11-16 15:30 ` [Bug target/24894] " joel at gcc dot gnu dot org 2005-11-16 15:37 ` pinskia at gcc dot gnu dot org 2005-12-08 17:14 ` berndtrog at yahoo dot com 2007-06-10 16:43 ` eweddington at cso dot atmel dot com 2008-09-14 12:53 ` aesok at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).