I got following internal compiler error with gcc-4.0.0 20041028
Reading specs from /disk2/gcc400/lib/gcc/i586-pc-linux-gnu/4.0.0/specs
Configured with: ../gcc/configure --prefix=/disk2/gcc400 --enable-shared
--enable-threads=posix --enable-__cxa_atexit --with-gnu-ld --verbose
--target=i586-pc-linux-gnu --host=i586-pc-linux-gnu --build=i586-pc-linux-gnu
Thread model: posix
gcc version 4.0.0 20041028 (experimental)
/disk2/gcc400/libexec/gcc/i586-pc-linux-gnu/4.0.0/cc1plus -fpreprocessed
filelist.ii -quiet -dumpbase filelist.ii -mtune=pentium -auxbase filelist -O2
-version -o /tmp/cct4ToGb.s
GNU C++ version 4.0.0 20041028 (experimental) (i586-pc-linux-gnu)
compiled by GNU C version 4.0.0 20041028 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
fileutil/filelist.cc: In member function `bool FileList::SearchPath(const
std::string&, const std::string&, char)':
fileutil/filelist.cc:107: error: Type mismatch between an SSA_NAME and its symbol.
fileutil/filelist.cc:107: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
when compiling C++ source. Initially noticed it for i586-pc-msdosdjgpp, after
that reproduced for i586-pc-linux-gnu with the same GCC version and source
--
Summary: Internal compiler error when compiling C++ file with
optimisations enabled
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pavenis at latnet dot lv
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i586-pc-linux-gnu
GCC host triplet: i586-pc-linux-gnu
GCC target triplet: i586-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18264