------- Comment #6 from tbm at cyrius dot com 2006-08-16 16:41 ------- Here's what I came up with:
(sid)518:[EMAIL PROTECTED]: ~/tmp] cat appbase.cpp #include "foo.h" int bar(int x); (sid)519:[EMAIL PROTECTED]: ~/tmp] rm -rf .pch/ (sid)520:[EMAIL PROTECTED]: ~/tmp] mkdir -p .pch/ (sid)521:[EMAIL PROTECTED]: ~/tmp] touch empty.h (sid)522:[EMAIL PROTECTED]: ~/tmp] /usr/local/bin/g++ -fPIC -O -o .pch/foo.h.gch empty.h (sid)523:[EMAIL PROTECTED]: ~/tmp] /usr/local/bin/g++ -c -I.pch -DwxUSE_BASE=1 -fPIC -O1 appbase.cpp appbase.cpp:3: internal compiler error: in ggc_record_overhead, at ggc-common.c:877 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. (sid)524:[EMAIL PROTECTED]: ~/tmp] And when you slightly change the file you get a segfault: (sid)526:[EMAIL PROTECTED]: ~/tmp] cat test2.cpp #include "foo.h" int bar(void); (sid)527:[EMAIL PROTECTED]: ~/tmp] /usr/local/bin/g++ -c -I.pch -DwxUSE_BASE=1 -fPIC -O1 test2.cpp test2.cpp:3: 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. -- tbm at cyrius dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tbm at cyrius dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28734