From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1854 invoked by alias); 16 Sep 2008 15:23:42 -0000 Received: (qmail 1375 invoked by uid 48); 16 Sep 2008 15:22:18 -0000 Date: Tue, 16 Sep 2008 15:23:00 -0000 Subject: [Bug tree-optimization/37542] New: PRE doesn't simplify during phi-translation X-Bugzilla-Reason: CC Message-ID: 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: 2008-09/txt/msg01896.txt.bz2 Related to the XFAIL of gcc.dg/tree-ssa/ssa-pre-15.c (PR37145). The general issue is that PRE doesn't simplify expressions during phi-translation which can be seen for example for int foo (int i, int b) { int j = 1; if (b) j = i; return j - i; } where j - i is partially redundant. -- Summary: PRE doesn't simplify during phi-translation Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37542