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 How reproducible: Didn't try Additional info:
I have reproduced this problem when a define (-D flag) is set to an include i.e. -D-I/dir1/dir2. Reproduction: 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