public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/17429] New: internal compiler error: in spill_failure, at reload1.c:1880
@ 2004-09-12  3:46 opticcow at linux-militia dot net
  2004-09-12  3:54 ` [Bug c/17429] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: opticcow at linux-militia dot net @ 2004-09-12  3:46 UTC (permalink / raw)
  To: gcc-bugs

error in gcc version 4.0.0 20040912 (experimental).

Error occured when compiling gcc with itself (during Bootstrapping training
compiler) using the following configure command:


 ../gcc/configure --prefix=/beta/ --enable-shared --enable-languages=c,c++,objc
--enable-threads=posix --enable-__cxa_atexit --disable-libgcj --enable-libada

and the following make command:

export CFLAGS="-mmmx -msse -msse2 -march=pentium4 -mfpmath=sse
-maccumulate-outgoing-args  -O2 -fgcse-after-reload -fmodulo-sched -fweb
-funroll-loops -fprefetch-loop-arrays -floop-optimize2 -fsched-spec-load
-ftree-loop-linear -ftree-vectorize -fomit-frame-pointer -pipe -s"

make BOOT_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS" STAGE1_CFLAGS="$CFLAGS"
profiledbootstrap

on gcc/gengtype.c, the compiler fails with:

stage1/xgcc -Bstage1/ -B/beta//i686-pc-linux-gnu/bin/ -c   -mmmx -msse -msse2
-march=pentium4 -mfpmath=sse -maccumulate-outgoing-args  -O2 -fgcse-after-reload
-fmodulo-sched -fweb -funroll-loops -fprefetch-loop-arrays -floop-optimize2
-fsched-spec-load -ftree-loop-linear -ftree-vectorize -fomit-frame-pointer -pipe
-s -save-temps -fprofile-generate -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wold-style-definition -Werror -fno-common  
-DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
-I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include  \
    ../../gcc/gcc/gengtype.c -o gengtype.o

../../gcc/gcc/gengtype.c: In function `finish_root_table':
../../gcc/gcc/gengtype.c:2501: error: unable to find a register to spill in
class `AD_REGS'
../../gcc/gcc/gengtype.c:2501: error: this is the insn:
(insn:HI 987 82 988 113 (parallel [
            (set (reg:DI 486 [ ivtmp.762 ])
                (sign_extend:DI (reg/f:SI 60 [ ivtmp.762 ])))
            (clobber (reg:CC 17 flags))
            (clobber (scratch:SI))
        ]) 85 {*extendsidi2_1} (nil)
    (expr_list:REG_UNUSED (scratch:SI)
        (expr_list:REG_UNUSED (reg:CC 17 flags)
            (expr_list:REG_UNUSED (scratch:SI)
                (expr_list:REG_UNUSED (reg:CC 17 flags)
                    (nil))))))
../../gcc/gcc/gengtype.c:2501: internal compiler error: in spill_failure, at
reload1.c:1880
Please submit a full bug report,
with preprocessed source if appropriate.



the gengtype.i was rather large, so instead of pasting it here it can be found at:

http://linux-militia.net/kernel/stuff/gengtype.i

-- 
           Summary: internal compiler error: in spill_failure, at
                    reload1.c:1880
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: opticcow at linux-militia dot net
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c/17429] internal compiler error: in spill_failure, at reload1.c:1880
  2004-09-12  3:46 [Bug c/17429] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
@ 2004-09-12  3:54 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-12  3:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-12 03:54 -------


*** This bug has been marked as a duplicate of 17428 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-12  3:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-12  3:46 [Bug c/17429] New: internal compiler error: in spill_failure, at reload1.c:1880 opticcow at linux-militia dot net
2004-09-12  3:54 ` [Bug c/17429] " pinskia 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).