When I debug lto1, the missing command line option file generates
a misleading error message and causes ICE:


[...@gnu-34 gcc]$ touch x.s
[...@gnu-34 gcc]$ gcc -c x.s
[...@gnu-34 gcc]$ /export/build/gnu/gcc/build-x86_64-linux/gcc/lto1 -quiet
-dumpbase x.o -mtune=generic -auxbase-strip /tmp/cc0mkdyt.lto.o -O2 -version 
@/tmp/ccsQ6Ult -o y.s
GNU GIMPLE (GCC) version 4.5.0 20091229 (experimental)
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.5.0 20091229 (experimental), GMP version
4.3.1, MPFR version 2.4.2, MPC version 0.8
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
lto1: internal compiler error: could not parse hex number
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[...@gnu-34 gcc]$


-- 
           Summary: Missing command line option file causes ICE
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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

Reply via email to