c/1998: compiler chokes on - as filename

Andreas Schwab schwab@suse.de
Thu Feb 15 07:46:00 GMT 2001


>Number:         1998
>Category:       c
>Synopsis:       compiler chokes on - as filename
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 15 07:46:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        2.97
>Organization:
>Environment:
System: Linux hawking 2.2.18 #1 Fri Jan 19 22:10:35 GMT 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
>Description:
	The compiler does not accept input from stdin any more.  This is
a regression from 2.95.2 and imake depends on it.

>How-To-Repeat:
	$ echo 'int main() { return 0; }' | gcc -o foo -x c -
	cc1: -: No such file or directory
	Errors detected in input file (your bison.simple is out of date)
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list