This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37142] [4.2/4.3 Regression] ICE: in dependent_type_p, at cp/pt.c:15585
- From: "annan dot h at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2008 03:37:25 -0000
- Subject: [Bug c++/37142] [4.2/4.3 Regression] ICE: in dependent_type_p, at cp/pt.c:15585
- References: <bug-37142-16603@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from annan dot h at gmail dot com 2008-08-17 03:37 -------
Created an attachment (id=16078)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16078&action=view)
The preprocessor output
This is the complete output from the 4.3.2 2008-08-14 snapshot compiler:
aharley@aharley-desktop:~/proj/yafft$ ~/opt/gcc-snapshot/bin/g++ -v -save-temps
testcase.cpp
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --prefix=/home/aharley/opt/gcc-snapshot
--with-gmp-include=/home/aharley/opt/gcc-snapshot-20080814/gmp-4.2.3
--with-gmp-lib=/home/aharley/opt/gcc-snapshot-20080814/gmp-4.2.3/.libs
--with-mpfr-include=/home/aharley/opt/gcc-snapshot-20080814/mpfr-2.3.1
--with-mpfr-lib=/home/aharley/opt/gcc-snapshot-20080814/mpfr-2.3.1/.libs
Thread model: posix
gcc version 4.3.2 20080814 (prerelease) (GCC)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-shared-libgcc' '-mtune=generic'
/home/aharley/opt/gcc-snapshot/libexec/gcc/x86_64-unknown-linux-gnu/4.3.2/cc1plus
-E -quiet -v -D_GNU_SOURCE testcase.cpp -mtune=generic -fpch-preprocess -o
testcase.ii
ignoring nonexistent directory
"/home/aharley/opt/gcc-snapshot/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../x86_64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/home/aharley/opt/gcc-snapshot/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../include/c++/4.3.2
/home/aharley/opt/gcc-snapshot/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../include/c++/4.3.2/x86_64-unknown-linux-gnu
/home/aharley/opt/gcc-snapshot/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../include/c++/4.3.2/backward
/usr/local/include
/home/aharley/opt/gcc-snapshot/include
/home/aharley/opt/gcc-snapshot/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/include
/home/aharley/opt/gcc-snapshot/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/include-fixed
/usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-shared-libgcc' '-mtune=generic'
/home/aharley/opt/gcc-snapshot/libexec/gcc/x86_64-unknown-linux-gnu/4.3.2/cc1plus
-fpreprocessed testcase.ii -quiet -dumpbase testcase.cpp -mtune=generic
-auxbase testcase -version -o testcase.s
GNU C++ (GCC) version 4.3.2 20080814 (prerelease) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.3.2 20080814 (prerelease), GMP version
4.2.3, MPFR version 2.3.1.
warning: GMP header version 4.2.3 differs from library version 4.2.2.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 80ec3039ff5fe7ccb66ff77fc31930a8
testcase.cpp: In function ?int main(int, char**)?:
testcase.cpp:42: internal compiler error: in dependent_type_p, at cp/pt.c:15585
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=37142