[Bug pch/26660] New: PCH vs -save-temps, ICE while GCing
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Mar 13 00:48:00 GMT 2006
create an empty file called t.hh.
create a file called t1.cc with:
#include "t.hh"
extern __inline__ int
stat (__const char *__path, struct stat *__statbuf) throw ()
{
--------------
compile the PCH like:
g++ t.hh
and the source file with:
g++ t1.cc -save-temps --param ggc-min-expand=0 --param ggc-min-heapsize=0
And see the following ICE:
t1.cc: In function Âint stat(const char*, stat*)Â:
t1.cc:4: error: expected `}' at end of input
t1.cc: At global scope:
t1.cc:4: 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.
--
Summary: PCH vs -save-temps, ICE while GCing
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, GC
Severity: normal
Priority: P3
Component: pch
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26660
More information about the Gcc-bugs
mailing list