Bug 59246 - <command line>: macro names must be identifiers; empty -D option causes seg fault
Summary: <command line>: macro names must be identifiers; empty -D option causes seg f...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 7.1
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-02-03 20:53 UTC by Hubert Matthews
Modified: 2007-04-18 16:39 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-02-03 20:53:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Hubert Matthews 2002-02-03 20:53:35 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.7 [en]C-CCK-MCD NetscapeOnline.co.uk  (WinNT; I)

Description of problem:
gcc -D -Wall -pedantic anyfile.c
<command line>: macro names must be identifiers
gcc: Internal error: Segmentation fault (program cpp0)
Please submit a full bug report.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. $ gcc -D -Wall -pedantic anyfile.c
	

Actual Results:  gcc -D -Wall -pedantic empty.c
<command line>: macro names must be identifiers
gcc: Internal error: Segmentation fault (program cpp0)
Please submit a full bug report.


Expected Results:  It shouldn't seg fault!

Additional info:

Comment 1 Jakub Jelinek 2002-02-04 14:59:26 UTC
This was fixed in gcc-2.96-100.


Note You need to log in before you can comment on or make changes to this bug.