]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-ssa-structalias.c (create_variable_info_for): Remove strange whole-program condi...
authorRichard Guenther <rguenther@suse.de>
Wed, 26 Aug 2009 09:02:01 +0000 (09:02 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 26 Aug 2009 09:02:01 +0000 (09:02 +0000)
commitbacd3fb68cce3b4b7c8c8bf5acd234ef080219c0
tree35bfe979726778b00f3f6636a9666c41bd299094
parent7b3d1847e637cae5e6ea174718df19ceaa5ae290
tree-ssa-structalias.c (create_variable_info_for): Remove strange whole-program condition, prepare to be called for non-globals.

2009-08-26  Richard Guenther  <rguenther@suse.de>

* tree-ssa-structalias.c (create_variable_info_for): Remove
strange whole-program condition, prepare to be called for non-globals.
(intra_create_variable_infos): For restrict qualified DECL_BY_REFERENCE
params build a representative with known type and track its fields.

* gcc.dg/tree-ssa/restrict-4.c: New testcase.

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