re PR tree-optimization/89509 (restrict doesnt work with subfield accesses)
authorRichard Biener <rguenther@suse.de>
Thu, 2 May 2019 14:05:27 +0000 (14:05 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 2 May 2019 14:05:27 +0000 (14:05 +0000)
commit420ee75d7dbdba35878d7feabea7d30d77b82943
tree7ee11d14d0d48de5300b9cfcc2167211175d9dec
parent5fe6af6dcfe684f9badc57442b168f0153dd8e5a
re PR tree-optimization/89509 (restrict doesnt work with subfield accesses)

2019-05-02  Richard Biener  <rguenther@suse.de>

PR tree-optimization/89509
* tree-ssa-structalias.c (compute_dependence_clique): Look
at the first subvar when determining whether it is restrict.

* gcc.dg/torture/restrict-8.c: New testcase.

From-SVN: r270799
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/restrict-8.c [new file with mode: 0644]
gcc/tree-ssa-structalias.c