https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115871
Bug ID: 115871 Summary: ICE with declare simd Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- #pragma omp declare simd inbranch simdlen(32) double foo (double x) { return x * 4.; } ICEs with during IPA pass: simdclone dump file: t2.c.097i.simdclone t2.c: In function ‘foo.simdclone.3’: t2.c:5:1: internal compiler error: Segmentation fault 5 | } | ^ 0x33e4d07 internal_error(char const*, ...) /space/rguenther/src/gcc/gcc/diagnostic-global-context.cc:491 0x17a62d4 crash_signal /space/rguenther/src/gcc/gcc/toplev.cc:319 0x1304cb7 gimplify_modify_expr /space/rguenther/src/gcc/gcc/gimplify.cc:6424 0x133b5f1 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /space/rguenther/src/gcc/gcc/gimplify.cc:18065 0x1309985 gimplify_stmt(tree_node**, gimple**) /space/rguenther/src/gcc/gcc/gimplify.cc:7595 0x12f0be8 gimplify_and_add(tree_node*, gimple**) /space/rguenther/src/gcc/gcc/gimplify.cc:519 0x3261f78 simd_clone_init_simd_arrays /space/rguenther/src/gcc/gcc/omp-simd-clone.cc:956 I was trying to figure out if we ever create simdclones with two AVX512 mask arguments but simdlen(N) with N > 64 seems to be unsupported.