aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.h
diff options
context:
space:
mode:
authorJim Wilson <jimw@sifive.com>2019-03-19 22:33:34 +0000
committerJim Wilson <wilson@gcc.gnu.org>2019-03-19 15:33:34 -0700
commit026216a753ef0a757a9e368a59fa667ea422cf09 (patch)
tree222389407fc02c0fe6d9412bf3dbebd20859fc61 /gcc/fold-const.h
parent2a23a1c39fb33df0277abd4486a3da64ae5e62c2 (diff)
downloadgcc-026216a753ef0a757a9e368a59fa667ea422cf09.zip
gcc-026216a753ef0a757a9e368a59fa667ea422cf09.tar.gz
gcc-026216a753ef0a757a9e368a59fa667ea422cf09.tar.bz2
RISC-V: Fix %lo overflow with BLKmode references.
gcc/ PR target/89411 * config/riscv/riscv.c (riscv_valid_lo_sum_p): New arg x. New locals align, size, offset. Use them to handle a BLKmode reference. Update comment. (riscv_classify_address): Pass info->offset to riscv_valid_lo_sum_p. gcc/testsuite/ PR target/89411 * gcc.target/riscv/losum-overflow.c: New test. From-SVN: r269813
Diffstat (limited to 'gcc/fold-const.h')
0 files changed, 0 insertions, 0 deletions