https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96915
Bug ID: 96915
Summary: ICE in tree-switch-conversion
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: ktkachov at gcc dot gnu.org
Target Milestone: ---
Target: aarch64*-*-*
The following SVE intrinsics code ICEs with -O3 -march=armv8.2-a+sve
#include <arm_sve.h>
void b (void);
void
a ()
{
switch (svcntd())
case 2:
case 4:
b();
}
during GIMPLE pass: switchconv
foo.c: In function 'a':
foo.c:12:1: internal compiler error: in expand, at tree-switch-conversion.c:988
12 | }
| ^
0xe475f1 tree_switch_conversion::switch_conversion::expand(gswitch*)
$SRC/gcc/tree-switch-conversion.c:988
0xe478ae execute
$SRC/gcc/tree-switch-conversion.c:2401
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.