https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104662
Christophe Lyon <clyon at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clyon at gcc dot gnu.org --- Comment #1 from Christophe Lyon <clyon at gcc dot gnu.org> --- Hello, Do you mean you are running 'make check' with a cross-gcc configure with --target arm-linux-gnueabif and you see this failure? On my side, 'make check' shows no error on this test. Given the flags you show, it seems you are in fact compiling the testcase by hand, effectively not including the mandatory -march=armv8.1-m.main+mve? V*BI types require MVE, so the test is not supposed to run without this option. However, this small change avoids the ICE: diff --git a/gcc/config/arm/arm.cc b/gcc/config/arm/arm.cc index c1103d9..5adc45b 100644 --- a/gcc/config/arm/arm.cc +++ b/gcc/config/arm/arm.cc @@ -12811,6 +12811,9 @@ simd_valid_immediate (rtx op, machine_mode mode, int inverse, || n_elts * innersize != 16)) return -1; + if (!TARGET_HAVE_MVE && (GET_MODE_CLASS (mode) == MODE_VECTOR_BOOL)) + return -1; + /* Vectors of float constants. */ if (GET_MODE_CLASS (mode) == MODE_VECTOR_FLOAT) {