tree-optimization/112495 - alias versioning and address spaces
commit0f593c0521caab8cfac53514b1a5e7d0d0dd1932
authorRichard Biener <rguenther@suse.de>
Mon, 13 Nov 2023 09:20:37 +0000 (13 10:20 +0100)
committerRichard Biener <rguenther@suse.de>
Mon, 13 Nov 2023 14:00:39 +0000 (13 15:00 +0100)
treeee497d1e168b3da018367a4cd09831d89bf00579
parent5021fa7076acd5a987362c8695ae3ebeff877d02
tree-optimization/112495 - alias versioning and address spaces

We are not correctly handling differing address spaces in dependence
analysis runtime alias check generation so refuse to do that.

PR tree-optimization/112495
* tree-data-ref.cc (runtime_alias_check_p): Reject checks
between different address spaces.

* gcc.target/i386/pr112495.c: New testcase.
gcc/testsuite/gcc.target/i386/pr112495.c [new file with mode: 0644]
gcc/tree-data-ref.cc