public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug pch/15007] New: crash when including precompiled header with -include
@ 2004-04-18 21:23 bryner at brianryner dot com
  2004-04-18 21:29 ` [Bug pch/15007] " bryner at brianryner dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bryner at brianryner dot com @ 2004-04-18 21:23 UTC (permalink / raw)
  To: gcc-bugs

Using a trunk gcc build pulled today, I get a crash if I include a precompiled
header with -include.  For example,

pchtest.h:
void foo (void);

pchtest.c:
<empty>

gcc -c -o pchtest.h.gch pchtest.h
gcc -c -o pchtest.o pchtest.c -include -pchtest.h
pchtest.c:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.

cc1 backtrace:
#0  0x0806a580 in c_write_global_declarations () at ../../gcc/gcc/c-decl.c:6629
#1  0x082e28c4 in toplev_main (argc=0, argv=0x0) at ../../gcc/gcc/toplev.c:1608
#2  0x080a8d9e in main (argc=0, argv=0x0) at ../../gcc/gcc/main.c:35

-- 
           Summary: crash when including precompiled header with -include
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: pch
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bryner at brianryner dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15007


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-05-09 21:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-18 21:23 [Bug pch/15007] New: crash when including precompiled header with -include bryner at brianryner dot com
2004-04-18 21:29 ` [Bug pch/15007] " bryner at brianryner dot com
2004-04-18 21:42 ` [Bug c/15007] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-04-18 21:42 ` [Bug pch/15007] " bryner at brianryner dot com
2004-04-22  3:25 ` [Bug c/15007] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-04-22  3:51 ` geoffk at gcc dot gnu dot org
2004-04-22  8:38 ` geoffk at gcc dot gnu dot org
2004-05-01  5:26 ` zack at gcc dot gnu dot org
2004-05-01  5:26 ` zack at gcc dot gnu dot org
2004-05-04 17:54 ` mrs at apple dot com
2004-05-05 23:10 ` bowdidge at apple dot com
2004-05-09 21:27 ` cvs-commit at gcc dot gnu dot org
2004-05-09 21:28 ` zack at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).