From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23984 invoked by alias); 21 Feb 2006 21:35:45 -0000 Received: (qmail 23967 invoked by uid 48); 21 Feb 2006 21:35:42 -0000 Date: Tue, 21 Feb 2006 21:35:00 -0000 Subject: [Bug tree-optimization/26406] New: Fowardprop does harm for VRP to figure out if a point is non zero X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg02450.txt.bz2 List-Id: Example: int *f(int *b) { int * a = new int[104]; *a = 1; if (a == 0) return b; return a; } ----- Found this while looking into tramp3d. -- Summary: Fowardprop does harm for VRP to figure out if a point is non zero Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org OtherBugsDependingO 22501 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26406