aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2017-11-03 09:24:28 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2017-11-03 09:24:28 +0000
commita34a16abe50b14dfb23929a0e596275ab7fd11e2 (patch)
tree709552d36c9010d5bdb45960cf0a95762cf90c40 /libgcc
parentf53bd856482af56a7af70bbae243f0c2af296b0e (diff)
downloadgcc-a34a16abe50b14dfb23929a0e596275ab7fd11e2.zip
gcc-a34a16abe50b14dfb23929a0e596275ab7fd11e2.tar.gz
gcc-a34a16abe50b14dfb23929a0e596275ab7fd11e2.tar.bz2
PR82809: register handling in ix86_vector_duplicate_value
When adding the call to gen_vec_duplicate, I failed to notice that code further down modified the VEC_DUPLICATE in place. That isn't safe if gen_vec_duplicate returned a const_vector. 2017-11-02 Richard Sandiford <richard.sandiford@linaro.org> gcc/ PR target/82809 * config/i386/i386.c (ix86_vector_duplicate_value): Use gen_vec_duplicate after forcing the scalar into a register. gcc/testsuite/ * gcc.dg/pr82809.c: New test. From-SVN: r254366
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions