This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r143983 - in /branches/alias-improvements/gcc: ...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 06 Feb 2009 09:17:20 -0000
- Subject: r143983 - in /branches/alias-improvements/gcc: ...
Author: rguenth
Date: Fri Feb 6 09:17:19 2009
New Revision: 143983
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143983
Log:
2009-02-06 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39074
* tree-ssa-structalias.c (storedanything_id, var_storedanything,
storedanything_tree): New.
(do_ds_constraint): Simplify ANYTHING shortcutting. Update
the STOREDANYTHING solution if the lhs solution contains
ANYTHING.
(build_pred_graph): Add edges from STOREDANYTHING to all
non-direct nodes.
(get_constraint_for_1): CONSTRUCTOR
is a zero-initializer. Generate &NOTHING for it.
(init_base_vars): Initialize STOREDANYTHING.
(compute_points_to_sets): Free substitution info after
building the succ graph.
(ipa_pta_execute): Likewise.
* gcc.dg/torture/pr39074.c: New testcase.
* gcc.dg/torture/pr39074-2.c: Likewise.
* gcc.dg/torture/pr39074-3.c: Likewise.
Added:
branches/alias-improvements/gcc/testsuite/gcc.dg/torture/pr39074-2.c
branches/alias-improvements/gcc/testsuite/gcc.dg/torture/pr39074-3.c
branches/alias-improvements/gcc/testsuite/gcc.dg/torture/pr39074.c
Modified:
branches/alias-improvements/gcc/ChangeLog.alias
branches/alias-improvements/gcc/tree-ssa-structalias.c