]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/45120 (-fipa-pta causes FAIL: gcc.c-torture/execute/pta-field...
authorRichard Guenther <rguenther@suse.de>
Thu, 29 Jul 2010 12:30:09 +0000 (12:30 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 29 Jul 2010 12:30:09 +0000 (12:30 +0000)
commit1c09321ca033a4094193fe9ce4e54e3344ac5360
treea8834fc2b29c7c0312c6fb656e8026cacadceb17
parent81fb8a483c2c59c5c301f1c0e48deb849ed2aeb0
re PR tree-optimization/45120 (-fipa-pta causes FAIL: gcc.c-torture/execute/pta-field-2.c execution)

2010-07-29  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/45120
* tree-ssa-structalias.c (get_constraint_for_component_ref):
Handle offset in DEREFs properly.
(get_constraint_for_1): Handle MEM_REF offset properly.

* gcc.dg/ipa/ipa-pta-15.c: New testcase.

From-SVN: r162676
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/ipa-pta-15.c [new file with mode: 0644]
gcc/tree-ssa-structalias.c