https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95362
Bug ID: 95362
Summary: [11 regression] pr34457-1.c fails on arm since
ga746f952abb78af9db28a7f3bce442e113877c9c
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: clyon at gcc dot gnu.org
Target Milestone: ---
Hi,
since ga746f952abb78af9db28a7f3bce442e113877c9c, I've noticed that
pr34457-1.c fails on arm and aarch64:
FAIL: gcc.dg/pr34457-1.c (internal compiler error)
FAIL: gcc.dg/pr34457-1.c (test for excess errors)
Excess errors:
during IPA pass: cp
lto1: internal compiler error: in operator[], at vec.h:867
0x99feed vec<lto_encoder_entry, va_heap, vl_embed>::operator[](unsigned int)
/gcc/vec.h:867
0x99feed vec<lto_encoder_entry, va_heap, vl_ptr>::operator[](unsigned int)
/gcc/vec.h:1433
0x99feed lto_symtab_encoder_deref
/gcc/lto-streamer.h:1173
0x99feed ipa_prop_read_section
/gcc/ipa-prop.c:5060
0x99feed ipa_prop_read_jump_functions()
/gcc/ipa-prop.c:5089
0xaf2fb1 ipa_read_summaries_1
/gcc/passes.c:2837
0x64b9a5 read_cgraph_and_symbols(unsigned int, char const**)
/gcc/lto/lto-common.c:2921
0x62d432 lto_main()
/gcc/lto/lto.c:625
lto-wrapper: fatal error:
/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-linux-gnueabi/gcc3/gcc/xgcc
returned 1 exit status
compilation terminated.
/aci-gcc-fsf/builds/gcc-fsf-gccsrc/tools/arm-none-linux-gnueabi/bin/ld: error:
lto-wrapper failed