[Bug ipa/96059] ICE: in remove_unreachable_nodes, at ipa.c:575 with -fdevirtualize-at-ltrans

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 7 12:10:21 GMT 2020


--- 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*)
0x12a7597 ipa_inline
0x12a7597 execute
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

More information about the Gcc-bugs mailing list