Handle POLY_INT_CST in copy_reference_ops_from_ref
authorRichard Sandiford <richard.sandiford@arm.com>
Fri, 8 Nov 2019 09:43:44 +0000 (09:43 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 8 Nov 2019 09:43:44 +0000 (09:43 +0000)
commit74266b00112a85660b1e9f6e546f0a2c007dd062
tree86334319fd2deb12ef1779654b718e229c0ecaf9
parent714fc568abfd02d7dc28607ff60301902f830917
Handle POLY_INT_CST in copy_reference_ops_from_ref

2019-11-08  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* tree-ssa-sccvn.c (copy_reference_ops_from_ref): Handle
POLY_INT_CST.

gcc/testsuite/
* gcc.target/aarch64/sve/acle/general/deref_2.c: New test.
* gcc.target/aarch64/sve/acle/general/whilele_8.c: Likewise.
* gcc.target/aarch64/sve/acle/general/whilelt_4.c: Likewise.

From-SVN: r277959
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/sve/acle/general/deref_2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/acle/general/whilele_8.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/acle/general/whilelt_4.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c