------- Comment #1 from hjl dot tools at gmail dot com 2008-08-07 18:58 ------- Created an attachment (id=16037) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16037&action=view) A testcase
/export/build/gnu/gcc-work/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc-work/build-x86_64-linux/gcc/ -S -m32 -O0 -g -I. -save-temps -Winvalid-pch -o save-temps-1.s save-temps-1.c save-temps-1.c:2:26: warning: save-temps-1.h.gch: not used because `__GCC_HAVE_DWARF2_CFI_ASM' not defined save-temps-1.c:2:26: warning: ./save-temps-1.h.gch: not used because `__GCC_HAVE_DWARF2_CFI_ASM' not defined save-temps-1.c:2:26: error: save-temps-1.h: No such file or directory save-temps-1.c:2:26: error: one or more PCH files were found, but they were invalid save-temps-1.c:4:2: error: #error T not defined make: *** [save-temps-1.s] Error 1 [EMAIL PROTECTED] pch-1]$ The key here is -save-temps. Without it, it works. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37033