https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128331

--- Comment #3 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 66062
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=66062&action=edit
only file needed

[apinski@xeond2 gcc-ice-lto-repro]$ ~/upstream-gcc/bin/gcc traverse.0.cc -O3
-flto -w
during IPA pass: inline
lto1: internal compiler error: in remove_unreachable_nodes, at ipa.cc:592
0x2a15c1f internal_error(char const*, ...)
       
/home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostic-global-context.cc:787
0xab9715 fancy_abort(char const*, int, char const*)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostics/context.cc:1813
0x874d9f symbol_table::remove_unreachable_nodes(_IO_FILE*)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/ipa.cc:592
0x28660ee ipa_inline
        /home/apinski/src/upstream-gcc-git/gcc/gcc/ipa-inline.cc:2929
0x28660ee execute
        /home/apinski/src/upstream-gcc-git/gcc/gcc/ipa-inline.cc:3445
/home/apinski/upstream-gcc/libexec/gcc/x86_64-pc-linux-gnu/17.0.0/lto1 -quiet
-dumpbase ./a.wpa -mtune=generic -march=x86-64 -O3 -O3 -w -fno-openmp
-fno-openacc -fno-pie -fcf-protection=none
-fltrans-output-list=/tmp/ccWMXgl2.ltrans.out -fwpa
-fresolution=/tmp/ccdbZ0LM.res -flinker-output=exec @/tmp/ccc75ZEB
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
lto-wrapper: fatal error: /home/apinski/upstream-gcc/bin/gcc returned 1 exit
status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status

Reply via email to