------- Comment #22 from rguenth at gcc dot gnu dot org 2010-05-19 14:48 ------- Subject: Bug 43987
Author: rguenth Date: Wed May 19 14:48:24 2010 New Revision: 159567 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159567 Log: 2010-05-19 Richard Guenther <rguent...@suse.de> PR tree-optimization/43987 * tree-ssa-structalias.c (could_have_pointers): For possibly address-taken variables force pointers to be recorded. (create_variable_info_for_1): Likewise. (push_fields_onto_fieldstack): Pass in wheter all fields must have pointers. (find_func_aliases): Query types instead of vars whether they contain pointers where appropriate. * gcc.c-torture/execute/pr43987.c: New testcase. * gcc.dg/torture/pta-escape-1.c: Adjust. * gcc.dg/tree-ssa/pta-escape-1.c: Likewise. * gcc.dg/tree-ssa/pta-escape-2.c: Likewise. * gcc.dg/tree-ssa/pta-escape-3.c: Likewise. * gcc.dg/torture/ipa-pta-1.c: Likewise. Added: branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/execute/pr43987.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/torture/ipa-pta-1.c branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/torture/pta-escape-1.c branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/tree-ssa/pta-escape-1.c branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/tree-ssa/pta-escape-2.c branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/tree-ssa/pta-escape-3.c branches/gcc-4_5-branch/gcc/tree-ssa-structalias.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43987