Bug 64308

Summary: gcc: Internal error: Segmentation fault (program cpp0)
Product: [Retired] Red Hat Linux Reporter: Need Real Name <j.trainor>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-05-02 03:15:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2002-05-02 03:15:20 UTC
Description of Problem:

I accidentally used "-D" when I intended to use "-I" on
a gcc command line.  (i.e. -D is followed by a path)
The follow error was the result:

gcc -c -g -ansi -pedantic  -I. -I../../../../exports/include/X11
-I../../../../include/fonts 	   -I../../cfb -I../../mfb -I../../mi -I../../include
-I../../os             -I../../../../include/extensions
-I../../../../exports/include/X11 -D../../../../../../dd/src/common 	   
-D../../../../../../dd/src/yts_dev -I  -I../../../..
-I../../../../exports/include  -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
-D_POSIX_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DSHAPE  -DXKB -DLBX -DXAPPGROUP
-DXCSECURITY -DTOGCUP     -DPANORAMIX -DXTRAP  -DGCCUSESGAS -DSTATIC_COLOR
-DAVOID_GLYPHBLT -DPIXPRIV     -DYUTSUN_SERVER -D_XOPEN_SOURCE=500 
-DFUNCPROTO=15 -DNARROWPROTO  -DDDXOSINIT -DSERVER_LOCK -DDDXTIME -DZZN  yts_cfg.c
<command line>: macro names must be identifiers
gcc: Internal error: Segmentation fault (program cpp0)
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.

Version-Release number of selected component (if applicable):
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)


How Reproducible:


Steps to Reproduce:
1. 
2. 
3. 

Actual Results:


Expected Results:


Additional Information:

Comment 1 Jakub Jelinek 2002-05-02 10:48:46 UTC

*** This bug has been marked as a duplicate of 55744 ***