[Bug c/12663] New: cc1 crashes when no source file given
segher at kernel dot crashing dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 17 18:52:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12663
Summary: cc1 crashes when no source file given
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: segher at kernel dot crashing dot org
CC: gcc-bugs at gcc dot gnu dot org,segher at kernel dot
crashing dot org
GCC build triplet: i686-unknown-linux-gnu
GCC host triplet: i686-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu
$ ./cc1
cc1: internal compiler error: Segmentation fault
...
It crashes in the following code in toplev.c:
1406 void
1407 output_file_directive (FILE *asm_file, const char *input_name)
1408 {
1409 int len = strlen (input_name);
(input_name == 0. Whoops).
More information about the Gcc-bugs
mailing list