Handle single restrict pointer in struct in create_variable_info_for_1
authorTom de Vries <tom@codesourcery.com>
Tue, 22 Sep 2015 08:15:32 +0000 (08:15 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Tue, 22 Sep 2015 08:15:32 +0000 (08:15 +0000)
commit50b4b446bb3894b6b8a830554009bd9cbdb8009a
tree2f80601647400b0089de32d9372be9b6f3038dc4
parent6bb4c3e2d8a978c590c01df7807c4e0819b33b85
Handle single restrict pointer in struct in create_variable_info_for_1

2015-09-22  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/67666
* tree-ssa-structalias.c (create_variable_info_for_1): Handle struct
with single field non-conservative.

* g++.dg/pr67666.C: New test.

From-SVN: r227996
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr67666.C [new file with mode: 0644]
gcc/tree-ssa-structalias.c