[Bug c++/27650] New: internal compiler error while compiling Gecode
On cygwin system, used gcc 3.4.4 to compile gcc 4.1.0. Installed gcc 4.1.0 in /usr/local. While compiling Gecode (with "make"), from gecode-1.1.0.tar.gz, encountered the following error: search/reco-stack.cc:85: internal compiler error: in maybe_emit_vtables, at cp/decl2.c:1548 exact command sequence in top directory of gecode source tree: $ ./configure CC="/usr/local/bin/gcc.exe" CXX="/usr/local/bin/g++.exe" (lots of output) $ make (some output) ERROR MESSAGE AS ABOVE -- Summary: internal compiler error while compiling Gecode Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Harmon dot Nine at gmail dot com GCC build triplet: i686-pc-cygwin GCC host triplet: i686-pc-cygwin GCC target triplet: i686-pc-cygwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650
[Bug c++/27650] internal compiler error while compiling Gecode
--- Comment #2 from Harmon dot Nine at gmail dot com 2006-05-18 22:56 --- Created an attachment (id=11487) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11487&action=view) Pre-processed output of reco-stack.cc, a gecode source file. reco-stack.cc is generating an internal compiler error. The attachment is this file as pre-processed. This file, and package of which it is a part, can be downloaded from the following URL: http://www.gecode.org/download/gecode-1.1.0.tar.gz -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650
[Bug c++/27650] internal compiler error while compiling Gecode
--- Comment #3 from Harmon dot Nine at gmail dot com 2006-05-18 23:01 --- Command that generated attachment (reco-stack.ii): /usr/local/bin/g++.exe -v -save-temps -I. -I. -DNDEBUG -Wall -ggdb -O3 -fno-strict-aliasing -finline-limit=3000 -ffast-math -mthreads -DGECODE_BUILD_SEARCH -c -o search/reco-stack.o search/reco-stack.cc Output from this command: Using built-in specs. Target: i686-pc-cygwin Configured with: ../gcc-4.1.0/configure Thread model: single gcc version 4.1.0 /usr/local/libexec/gcc/i686-pc-cygwin/4.1.0/cc1plus.exe -E -quiet -v -I. -I. -D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -idirafter /usr/lib/../include/w32api -idirafter /usr/local/lib/gcc/i686-pc-cygwin/4.1.0/../../../../../include/w32api -DNDEBUG -DGECODE_BUILD_SEARCH search/reco-stack.cc -mthreads -mtune=pentiumpro -Wall -fno-strict-aliasing -finline-limit=3000 -ffast-math -fworking-directory -O3 -fpch-preprocess -o reco-stack.ii ignoring nonexistent directory "NONE/include" ignoring nonexistent directory "/usr/local/lib/gcc/i686-pc-cygwin/4.1.0/../../../../i686-pc-cygwin/include" ignoring duplicate directory "/usr/local/lib/gcc/i686-pc-cygwin/4.1.0/../../../../../include/w32api" ignoring duplicate directory "." #include "..." search starts here: #include <...> search starts here: . /usr/local/lib/gcc/i686-pc-cygwin/4.1.0/../../../../include/c++/4.1.0 /usr/local/lib/gcc/i686-pc-cygwin/4.1.0/../../../../include/c++/4.1.0/i686-pc-cygwin /usr/local/lib/gcc/i686-pc-cygwin/4.1.0/../../../../include/c++/4.1.0/backward /usr/local/include /usr/local/lib/gcc/i686-pc-cygwin/4.1.0/include /usr/include /usr/lib/../include/w32api -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650
[Bug c++/27650] internal compiler error while compiling Gecode
--- Comment #4 from Harmon dot Nine at gmail dot com 2006-05-18 23:04 --- Output from gcc command in previous comment was incomplete. Here is the rest: End of search list. /usr/local/libexec/gcc/i686-pc-cygwin/4.1.0/cc1plus.exe -fpreprocessed reco-stack.ii -quiet -dumpbase reco-stack.cc -mthreads -mtune=pentiumpro -auxbase-strip search/reco-stack.o -ggdb -O3 -Wall -version -fno-strict-aliasing -finline-limit=3000 -ffast-math -o reco-stack.s GNU C++ version 4.1.0 (i686-pc-cygwin) compiled by GNU C version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 37c50bca8d9aa79de709cfd6b183fd23 search/reco-stack.cc:85: internal compiler error: in maybe_emit_vtables, at cp/decl2.c:1548 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html> for instructions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650
[Bug middle-end/26622] [4.0 Regression] ICE in extract_insn, at recog.c:2084
--- Comment #15 from Harmon dot Nine at gmail dot com 2006-06-06 22:52 --- Hello all. I notice the last comment for this bug was made on May 29th. Today is June 06 (06-06-06 ). I've *just* (i.e. yesterday) download the latest source from the 4_1 branch and compiled and installed it on my cygwin. An internal compiler error is incurred when compiling Gecode that looks very similar. Files containing the pre-processed source and the stdout of the gcc command used to generated it are attached. Here's the exact command used to generate the pre-processed source file: /usr/local/bin/g++ -v -save-temps -I. -I. -DNDEBUG -Wall -ggdb -O3 -fno-strict-aliasing -finline-limit=3000 -ffast-math -mthreads -DGECODE_BUILD_INT -c -o int/var/imp.o int/var/imp.cc -- Harmon dot Nine at gmail dot com changed: What|Removed |Added CC| |Harmon dot Nine at gmail dot | |com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26622
[Bug middle-end/26622] [4.0 Regression] ICE in extract_insn, at recog.c:2084
--- Comment #16 from Harmon dot Nine at gmail dot com 2006-06-06 22:54 --- Created an attachment (id=11614) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11614&action=view) Stdout and Stderr of gcc command to make pre-processed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26622
[Bug middle-end/26622] [4.0 Regression] ICE in extract_insn, at recog.c:2084
--- Comment #17 from Harmon dot Nine at gmail dot com 2006-06-06 22:55 --- Created an attachment (id=11615) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11615&action=view) Pro-processed source that incurs internal compiler error -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26622
[Bug target/27650] internal compiler error while compiling Gecode
--- Comment #7 from Harmon dot Nine at gmail dot com 2006-06-06 23:02 --- Bugfix worked for me. Compilation definitely got farther. However, there's another bug. Pls. see bug 26622. Gecode may be a good compiler test package; it seems to use some advanced C++ features. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650
[Bug c++/27924] New: internal compiler error: extract_insn, while compiling Gecode
-- Summary: internal compiler error: extract_insn, while compiling Gecode Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Harmon dot Nine at gmail dot com GCC build triplet: i686-pc-cygwin GCC host triplet: i686-pc-cygwin GCC target triplet: i686-pc-cygwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27924
[Bug c++/27924] internal compiler error: extract_insn, while compiling Gecode
--- Comment #1 from Harmon dot Nine at gmail dot com 2006-06-07 00:34 --- G++ command used to generate pre-compiled source: /usr/local/bin/g++ -v -save-temps -I. -I. -DNDEBUG -Wall -ggdb -O3 -fno-strict-aliasing -finline-limit=3000 -ffast-math -mthreads -DGECODE_BUILD_INT -c -o int/var/imp.o int/var/imp.cc Output and pre-compiled source attached -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27924
[Bug c++/27924] internal compiler error: extract_insn, while compiling Gecode
--- Comment #2 from Harmon dot Nine at gmail dot com 2006-06-07 00:35 --- Created an attachment (id=11616) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11616&action=view) Stdout and Stderr of gcc command to make pre-processed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27924
[Bug c++/27924] internal compiler error: extract_insn, while compiling Gecode
--- Comment #3 from Harmon dot Nine at gmail dot com 2006-06-07 00:36 --- Created an attachment (id=11617) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11617&action=view) pre-compiled source if imp.cc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27924