This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/38401] TreeSSA-PRE load after store misoptimization
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2008 12:40:54 -0000
- Subject: [Bug tree-optimization/38401] TreeSSA-PRE load after store misoptimization
- References: <bug-38401-16914@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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