This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/16778] New: ICE on invalid CFLAGS


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)

-- 
           Summary: ICE on invalid CFLAGS
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: namsh at kldp dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16778


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]