https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113065
Alex Coplan <acoplan at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2023-12-18
Keywords| |ice-on-valid-code
CC| |acoplan at gcc dot gnu.org
--- Comment #2 from Alex Coplan <acoplan at gcc dot gnu.org> ---
Confirmed, here is a reduced testcase:
$ cat t.c
typedef __builtin_neon_poly128 poly128_t;
poly128_t test_simde_vaddq_p128(poly128_t a) { return a << 4; }
$ ./xgcc -B . -c t.c -S -o /dev/null -march=armv8-a+simd -mfloat-abi=hard
during RTL pass: expand
t.c: In function ‘test_simde_vaddq_p128’:
t.c:2:57: internal compiler error: in expand_shift_1, at expmed.cc:2686
2 | poly128_t test_simde_vaddq_p128(poly128_t a) { return a << 4; }
| ~~^~~~
0x225b687 expand_shift_1
/home/alecop01/toolchain/src/gcc/gcc/expmed.cc:2686
0x225b7a0 expand_variable_shift(tree_code, machine_mode, rtx_def*, tree_node*,
rtx_def*, int)
/home/alecop01/toolchain/src/gcc/gcc/expmed.cc:2727
0x229007d expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
/home/alecop01/toolchain/src/gcc/gcc/expr.cc:10256
0x207a203 expand_gimple_stmt_1
/home/alecop01/toolchain/src/gcc/gcc/cfgexpand.cc:3983
0x207a44c expand_gimple_stmt
/home/alecop01/toolchain/src/gcc/gcc/cfgexpand.cc:4044
0x20824cc expand_gimple_basic_block
/home/alecop01/toolchain/src/gcc/gcc/cfgexpand.cc:6100
0x208487d execute
/home/alecop01/toolchain/src/gcc/gcc/cfgexpand.cc:6835
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.