http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40272
Jeffrey Walton noloader at gmail dot com changed:
What|Removed |Added
CC||noloader at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40272
--- Comment #4 from Jeffrey Walton noloader at gmail dot com 2010-12-05
14:01:18 UTC ---
Created attachment 22643
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22643
GCC crash on precompiled header, -g3, and empty file
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40272
Richard Guenther rguenth at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
--- Comment #3 from jay dot foad at gmail dot com 2010-06-08 14:24 ---
I've just seen this too:
$ gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
[...]
$ cat a.h
void a(void);
$ cat b.h
#include a.h
$ cat b.c
#include b.h
void b(void) {}
$ gcc -c -g3 a.h
$ gcc -c -g3 b.c
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-05-27 14:10 ---
You have to include a precompiled header from the toplevel source file as the
very first thing or preferably via the -include command-line parameter.
--
rguenth at gcc dot gnu dot org changed:
What
--- Comment #2 from gafunchal at gmail dot com 2009-05-27 14:25 ---
(In reply to comment #1)
You have to include a precompiled header from the toplevel source file as the
very first thing or preferably via the -include command-line parameter.
I do not agree with that. The