Bug 16778 - ICE on invalid CFLAGS
Summary: ICE on invalid CFLAGS
Status: RESOLVED DUPLICATE of bug 15259
Alias: None
Product: gcc
Classification: Unclassified
Component: c (show other bugs)
Version: 3.4.2
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-27 06:53 UTC by namsh
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description namsh 2004-07-27 06:53:49 UTC
Just do:

~/tmp $ touch ex.c
~/tmp $ LANG= gcc  `pwd` -o ex.o -c ./ex.c
gcc: /home/namsh/tmp: linker input file unused because linking not done
cc1: /home/namsh/tmp: No such file or directory
cc1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Actually I should do:
~/tmp $ gcc -I/somewhere/includepath -o ex.o -c ./ex.c
I forgot adding '-I'.

gcc --version:
gcc (GCC) 3.4.2 20040727 (prerelease)
Comment 1 Falk Hueffner 2004-07-27 08:21:45 UTC

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