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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 48841
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48841&action=edit
Reduced test-case

$ g++ -O2 -flto=auto -fdevirtualize-at-ltrans -fvisibility=hidden
-fvisibility-inlines-hidden -fPIC *.ii
...
during IPA pass: inline
lto1: internal compiler error: in remove_unreachable_nodes, at ipa.c:575
0x5cb461 symbol_table::remove_unreachable_nodes(_IO_FILE*)
        ../../gcc/ipa.c:575
0x12a7597 ipa_inline
        ../../gcc/ipa-inline.c:2696
0x12a7597 execute
        ../../gcc/ipa-inline.c:3091
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
lto-wrapper: fatal error: g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status

Reply via email to