Red Hat Bugzilla – Bug 75606
Gcc crashed while compiling a c file.
Last modified: 2007-04-18 12:47:25 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)
Description of problem:
When I tried to compile a c file and creating dependency file it showed this.
<command line>: macro names must be identifiers. gcc: Internal error:
Segmentation fault (program cpp0)
Version-Release number of selected component (if applicable): 2.96
I have reproduced this problem when a define (-D flag) is set to an include i.e.
1. Touch a file file.cpp
2. g++ -MM -D-I/dum/dee file.cpp
get the following or similar
<command line>: macro names must be identifiers
g++: Internal error: Segmentation fault (program cpp0)
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
Tests out ok in 8.0 / g++ 3.2