public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "opticcow at linux-militia dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880
Date: Sun, 12 Sep 2004 03:41:00 -0000	[thread overview]
Message-ID: <20040912034129.17428.opticcow@linux-militia.net> (raw)

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=17428


             reply	other threads:[~2004-09-12  3:41 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-12  3:41 opticcow at linux-militia dot net [this message]
2004-09-12  3:45 ` [Bug c/17428] " opticcow at linux-militia dot net
2004-09-12  3:54 ` pinskia at gcc dot gnu dot org
2004-09-12  3:54 ` pinskia at gcc dot gnu dot org
2004-09-12  3:56 ` [Bug rtl-optimization/17428] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-09-14  2:13 ` [Bug target/17428] " reichelt at gcc dot gnu dot org
2004-09-14  2:32 ` pinskia at gcc dot gnu dot org
2004-09-14 21:09 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2004-09-21 11:49 ` rakdver at gcc dot gnu dot org
2004-09-21 12:59 ` [Bug rtl-optimization/17428] " pinskia at gcc dot gnu dot org
2004-09-21 20:38 ` rakdver at gcc dot gnu dot org
2004-09-25 23:32 ` opticcow at linux-militia dot net
2004-10-16 13:29 ` reichelt at gcc dot gnu dot org
2004-10-28  9:28 ` reichelt at gcc dot gnu dot org
2004-10-28 11:42 ` reichelt at gcc dot gnu dot org
2004-10-28 13:19 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2004-11-04  7:06 ` rakdver at gcc dot gnu dot org
2004-11-27  0:25 ` [Bug rtl-optimization/17428] internal compiler error: in spill_failure, at reload1.c:1880 (-fspeculative-prefetching) pinskia at gcc dot gnu dot org
2005-02-14 16:03 ` cvs-commit at gcc dot gnu dot org
2005-02-15 20:53 ` reichelt at gcc dot gnu dot org
2005-04-11  9:47 ` reichelt at gcc dot gnu dot org
2005-04-11 10:33 ` reichelt at gcc dot gnu dot org
2005-04-11 10:41 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2005-06-02 16:08 ` reichelt at gcc dot gnu dot org
2005-07-29  9:41 ` reichelt at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040912034129.17428.opticcow@linux-militia.net \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).