aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorSaurabh Jha <saurabh.jha@arm.com>2023-11-14 14:48:40 +0000
committerKyrylo Tkachov <kyrylo.tkachov@arm.com>2023-11-14 14:49:46 +0000
commitddb479e796bee3964ddb6a2daa8f79598e47cede (patch)
treefa8c370ad3d5716719f523d3e8e4899dba221d6b /gcc/expr.cc
parent2066c29bf8dea87c9810eb261e342d941a6b2059 (diff)
downloadgcc-ddb479e796bee3964ddb6a2daa8f79598e47cede.zip
gcc-ddb479e796bee3964ddb6a2daa8f79598e47cede.tar.gz
gcc-ddb479e796bee3964ddb6a2daa8f79598e47cede.tar.bz2
Add a REG_P check for inc and dec for Arm MVE
This patch tightens mve_vector_mem_operand to reject non-register operands inside {PRE,POST}_{INC,DEC} addresses by introducing a REG_P check. This patch fixes this ICE:https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112337 gcc/ChangeLog: PR target/112337 * config/arm/arm.cc (mve_vector_mem_operand): Add a REG_P check for INC and DEC operations. gcc/testsuite/ChangeLog: PR target/112337 * gcc.target/arm/mve/pr112337.c: Test for REG_P check for INC and DEC operations.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions