From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7398 invoked by alias); 8 Dec 2008 11:55:03 -0000 Received: (qmail 6623 invoked by uid 48); 8 Dec 2008 11:53:44 -0000 Date: Mon, 08 Dec 2008 11:55:00 -0000 Message-ID: <20081208115344.6622.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/38401] TreeSSA-PRE load after store misoptimization In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "sergeid at il dot ibm dot com" 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-12/txt/msg00731.txt.bz2 ------- Comment #12 from sergeid at il dot ibm dot com 2008-12-08 11:53 ------- I have to mention that tree PRE still don't catch this LOAD with -O3. Though the patch Richard posted does the job. (In reply to comment #1) > It works with -O3 (with partial-partial PRE enabled). At least phi-translation > figures out that *res is zero on the incoming edge. > > Un-leashing partial-PRE like with -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38401