From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7287 invoked by alias); 6 Feb 2009 09:17:41 -0000 Received: (qmail 7254 invoked by alias); 6 Feb 2009 09:17:31 -0000 Date: Fri, 06 Feb 2009 09:17:00 -0000 Message-ID: <20090206091731.7253.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/39074] [4.2/4.3/4.4 Regression] PTA constraint processing for *x = y is wrong In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-02/txt/msg00541.txt.bz2 ------- Comment #16 from rguenth at gcc dot gnu dot org 2009-02-06 09:17 ------- Subject: Bug 39074 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 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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39074