From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26582 invoked by alias); 8 Dec 2008 12:42:19 -0000 Received: (qmail 26082 invoked by alias); 8 Dec 2008 12:40:54 -0000 Date: Mon, 08 Dec 2008 12:42:00 -0000 Message-ID: <20081208124054.26081.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: "rguenther at suse dot de" 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/msg00732.txt.bz2 ------- Comment #13 from rguenther at suse dot de 2008-12-08 12:40 ------- Subject: Re: TreeSSA-PRE load after store misoptimization On Mon, 8 Dec 2008, sergeid at il dot ibm dot com wrote: > ------- 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. Sorry if the comment wasn't clear - -O3 doesn't catch it, but this is only because of the implementation decision fixed with that patch. > (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