public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/28814] New: ICE when compiling Stalin under 4.1 but not 4.0 Date: Tue, 22 Aug 2006 21:53:00 -0000 [thread overview] Message-ID: <bug-28814-13133@http.gcc.gnu.org/bugzilla/> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 7279 bytes --] Stalin is a Scheme compiler that generates C code. Stalin is itself written in C and can compile itself. I am preparing a new release of Stalin for Debian Etch. This release compiles with earlier versions of gcc, such as gcc-4.0, but not with gcc-4.1. It gives an ICE. The preprocessed source is huge. I submitted an earlier bug report that included the preprocessed source but apparently the email bounced. I am resubmitting making the preprocessed source available on the web instead. I would appreciate if someone from GCC/GNU can let me know when you have downloaded the preprocessed source so that I can remove it from my web site. Environment: System: Linux chino 2.6.15-1-k7-smp #2 SMP Mon Mar 6 15:50:26 UTC 2006 i686 GNU/Linux Architecture: i686 I am submitting this from a different machine than that which generated the error because the latter has no email connection. Both run Debian Etch on identical hardware. host: i486-pc-linux-gnu build: i486-pc-linux-gnu target: i486-pc-linux-gnu configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=i686 --enable-checking=release i486-linux-gnu How-To-Repeat: qobi@ingqondo>gcc -v -save-temps -o stalin -I./include -O3 -fomit-frame-pointer -fno-strict-aliasing -freg-struct-return stalin.c -L./include -lm -lgc Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,fortran,objc,obj-c++,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.2 20060613 (prerelease) (Debian 4.1.1-5) /usr/lib/gcc/i486-linux-gnu/4.1.2/cc1 -E -quiet -v -I./include stalin.c -mtune=i686 -fomit-frame-pointer -fno-strict-aliasing -freg-struct-return -O3 -fpch-preprocess -o stalin.i ignoring nonexistent directory "/usr/local/include/i486-linux-gnu" ignoring nonexistent directory "/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../i486-linux-gnu/include" ignoring nonexistent directory "/usr/include/i486-linux-gnu" #include "..." search starts here: #include <...> search starts here: ./include /usr/local/include /usr/lib/gcc/i486-linux-gnu/4.1.2/include /usr/include End of search list. /usr/lib/gcc/i486-linux-gnu/4.1.2/cc1 -fpreprocessed stalin.i -quiet -dumpbase stalin.c -mtune=i686 -auxbase stalin -O3 -version -fomit-frame-pointer -fno-strict-aliasing -freg-struct-return -o stalin.s GNU C version 4.1.2 20060613 (prerelease) (Debian 4.1.1-5) (i486-linux-gnu) compiled by GNU C version 4.1.2 20060613 (prerelease) (Debian 4.1.1-5). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 3efbb0b5b3119ec825babd3e1cecb910 stalin.c: In function âf9226â: stalin.c:369354: internal compiler error: in compare_values, at tree-vrp.c:415 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. For Debian GNU/Linux specific bug reporting instructions, see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>. Preprocessed source stored into /tmp/ccYcxZDO.out file, please attach this to your bugreport. 395.851u 3.338s 6:39.21 99.9% 0+0k 0+0io 0pf+0w qobi@ingqondo>gcc-4.0 -v -save-temps -o stalin -I./include -O3 -fomit-frame-pointer -fno-strict-aliasing -freg-struct-return stalin.c -L./include -lm -lgc Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.4 20060507 (prerelease) (Debian 4.0.3-3) /usr/lib/gcc/i486-linux-gnu/4.0.4/cc1 -E -quiet -v -I./include stalin.c -mtune=i686 -fomit-frame-pointer -fno-strict-aliasing -freg-struct-return -O3 -fpch-preprocess -o stalin.i ignoring nonexistent directory "/usr/local/include/i486-linux-gnu" ignoring nonexistent directory "/usr/include/i486-linux-gnu" #include "..." search starts here: #include <...> search starts here: ./include /usr/local/include /usr/lib/gcc/i486-linux-gnu/4.0.4/include /usr/include End of search list. /usr/lib/gcc/i486-linux-gnu/4.0.4/cc1 -fpreprocessed stalin.i -quiet -dumpbase stalin.c -mtune=i686 -auxbase stalin -O3 -version -fomit-frame-pointer -fno-strict-aliasing -freg-struct-return -o stalin.s GNU C version 4.0.4 20060507 (prerelease) (Debian 4.0.3-3) (i486-linux-gnu) compiled by GNU C version 4.0.4 20060507 (prerelease) (Debian 4.0.3-3). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 as -V -Qy --32 -o stalin.o stalin.s GNU assembler version 2.17 (i486-linux-gnu) using BFD version 2.17 Debian GNU/Linux /usr/lib/gcc/i486-linux-gnu/4.0.4/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o stalin /usr/lib/gcc/i486-linux-gnu/4.0.4/../../../../lib/crt1.o /usr/lib/gcc/i486-linux-gnu/4.0.4/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.0.4/crtbegin.o -L./include -L/usr/lib/gcc/i486-linux-gnu/4.0.4 -L/usr/lib/gcc/i486-linux-gnu/4.0.4 -L/usr/lib/gcc/i486-linux-gnu/4.0.4/../../../../lib -L/usr/lib/gcc/i486-linux-gnu/4.0.4/../../.. -L/lib/../lib -L/usr/lib/../lib stalin.o -lm -lgc -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i486-linux-gnu/4.0.4/crtend.o /usr/lib/gcc/i486-linux-gnu/4.0.4/../../../../lib/crtn.o 216.368u 1.295s 3:37.80 99.9% 0+0k 0+0io 0pf+0w qobi@ingqondo> Because the preprocessor output is large, I have put it at http://www.ece.purdue.edu/~qobi/ccYcxZDO.out instead of including it in this email. ------- Comment #1 from qobi at purdue dot edu 2006-08-22 21:53 ------- Fix: No known fix or workaround except to compile with an earlier version of gcc. -- Summary: ICE when compiling Stalin under 4.1 but not 4.0 Product: gcc Version: 4.0.4 Status: UNCONFIRMED Severity: critical Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: qobi at purdue dot edu GCC build triplet: i486-pc-linux-gnu GCC host triplet: i486-pc-linux-gnu GCC target triplet: i486-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28814
next reply other threads:[~2006-08-22 21:53 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-08-22 21:53 gcc-bugzilla at gcc dot gnu dot org [this message] 2006-08-23 7:06 ` [Bug tree-optimization/28814] [4.1/4.2 regression] in compare_values, at tree-vrp.c:415 tbm at gcc dot gnu dot org 2006-08-23 8:12 ` pinskia at gcc dot gnu dot org 2006-08-23 9:38 ` tbm at gcc dot gnu dot org 2006-08-23 10:26 ` rguenth at gcc dot gnu dot org 2006-08-23 14:16 ` [Bug middle-end/28814] " patchapp at dberlin dot org 2006-08-25 22:01 ` rguenth at gcc dot gnu dot org 2006-08-25 22:02 ` [Bug middle-end/28814] [4.1 " rguenth at gcc dot gnu dot org 2006-09-01 21:49 ` rguenth at gcc dot gnu dot org 2006-09-01 21:49 ` rguenth 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=bug-28814-13133@http.gcc.gnu.org/bugzilla/ \ --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: linkBe 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).