https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124908
Bug ID: 124908
Summary: [14/15/16 Regression] ICE when folding
svld1rq_u8(svptrue_b8(), p) for -msve-vector-bits=128
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Keywords: aarch64-sve, ice-on-valid-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: ktkachov at gcc dot gnu.org
Target Milestone: ---
Target: aarch64
The testcase:
#include <arm_sve.h>
svuint8_t f(const unsigned char *p)
{
return svld1rq_u8(svptrue_b8(), p);
}
ICEs for aarch64 SVE with 128-bit VLS e.g. -O2 -march=armv9-a
-msve-vector-bits=128
<source>: In function 'f':
<source>:6:1: internal compiler error: in fold, at
config/aarch64/aarch64-sve-builtins-base.cc:1862
6 | }
| ^