https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97041
Bug ID: 97041 Summary: ICE during RTL pass: sched_fusion: in operator[], at vec.h:880 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: vvinayag at arm dot com Target Milestone: --- Internal Compiler Error when compiling glibc/stdio-common/vfprintf-internal.c. The build configuration is: BUILD: x86_64/linux HOST: x86_64/linux TARGET: aarch64-none-linux-gnu OR BUILD: aarch64-none-linux-gnu HOST: aarch64-none-linux-gnu TARGET: aarch64-none-linux-gnu during RTL pass: sched_fusion vfprintf-internal.c: In function ‘__vfprintf_internal’: vfprintf-internal.c:1693:1: internal compiler error: in operator[], at vec.h:880 1693 | } | ^ 0x8136a9 vec<basic_block_def*, va_gc, vl_embed>::operator[](unsigned int) /src/gcc/gcc/vec.h:880 0x8136a9 pre_and_rev_post_order_compute_fn(function*, int*, int*, bool) /src/gcc/gcc/cfganal.c:1036 0x813790 pre_and_rev_post_order_compute(int*, int*, bool) /src/gcc/gcc/cfganal.c:1050 0x7c27fe init_alias_analysis() /src/gcc/gcc/alias.c:3392 0x18a7416 sched_init() /src/gcc/gcc/haifa-sched.c:7326 0x18a8b50 haifa_sched_init() /src/gcc/gcc/haifa-sched.c:7363 0xcd56bd schedule_insns() /src/gcc/gcc/sched-rgn.c:3514 0xcd5f21 rest_of_handle_sched_fusion /src/gcc/gcc/sched-rgn.c:3757 0xcd5f21 execute /src/gcc/gcc/sched-rgn.c:3932 GCC SHA d9b054d56b052fb01c9a667c95f80c783f0cf0c7 from master