https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125502
Bug ID: 125502
Summary: [11-17 Regression] ICE at -O1 during RTL pass: expand
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: xxs_chy at outlook dot com
Target Milestone: ---
Reproducer: https://godbolt.org/z/c55heEfaY
gcc version 17.0.0 20260528 (experimental) (GCC)
Similar to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125396.
Testcase:
#include <setjmp.h>
#include <stdint.h>
typedef int16_t v16i16 __attribute__((vector_size(32)));
jmp_buf g32;
void f3(int64_t, int8_t, int16_t);
int64_t f4(int64_t, int64_t)
{
v16i16 vec6, vec11;
int16_t v13;
vec6[0] = setjmp(g32);
vec11 = vec6;
f3(0, 0, v13);
v13 = vec11[2];
f4(0, 0);
}