gnu /
gcc /
ac664905b837095b15099e44e83471672eee7aa9 tree-optimization/113670 - gather/scatter to/from hard registers
The following makes sure we're not taking the address of hard
registers when vectorizing appearant gathers or scatters to/from
them.
PR tree-optimization/113670
* tree-vect-data-refs.cc (vect_check_gather_scatter):
Make sure we can take the address of the reference base.
* gcc.target/i386/pr113670.c: New testcase.
(cherry picked from commit 924137b9012cee5603482242de08fbf0b2030f6a)
2 files changed