aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2025-01-29 08:07:15 -0700
committerJeff Law <jlaw@ventanamicro.com>2025-01-29 08:07:15 -0700
commit4318821562638a3d909942f561a42f7272ddfed4 (patch)
tree97357e0cbaaac8895a6746010d8944a4c76fa111 /gcc/expr.cc
parent09d1cbee10b8c51aed48f047f30717f622d6f811 (diff)
downloadgcc-4318821562638a3d909942f561a42f7272ddfed4.zip
gcc-4318821562638a3d909942f561a42f7272ddfed4.tar.gz
gcc-4318821562638a3d909942f561a42f7272ddfed4.tar.bz2
[PATCH] RX: Restrict displacement ranges in "Q" constraint
When using the "Q" constraint in the inline assembler, the displacement value could exceed the range specified by the instruction. To avoid this issue, a displacement range check is added to the "Q" constraint. gcc/ * config/rx/constraints.md (Q): Also check that the address passes rx_is_restricted_memory-address.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions