From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 965 invoked by alias); 12 Mar 2007 14:59:44 -0000 Received: (qmail 917 invoked by uid 48); 12 Mar 2007 14:59:30 -0000 Date: Mon, 12 Mar 2007 14:59:00 -0000 Message-ID: <20070312145930.916.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/31146] forwprop does not look through casts In-Reply-To: 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-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-03/txt/msg01058.txt.bz2 ------- Comment #1 from pinskia at gcc dot gnu dot org 2007-03-12 14:59 ------- forwprop should NOT, I repeat should NOT look through casts for conditional if the SSA_NAME that defines the cast is still used after the conditional. Really this non zero optimization should be done by VRP. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31146