------- Additional Comments From law at redhat dot com  2004-12-23 18:32 -------
Subject: Re:  Missed comparision optimization
        (jump threading related)

On Wed, 2004-12-22 at 05:33 +0000, pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-22 
> 05:33 -------
> (In reply to comment #9)
> > The first two testcases seem to be OK.  All calls to f are f(1).
> > 
> > The last testcase is probably not what Andrew had in mind.
> > Specifically, "i" in the innermost scope isn't initialized.
> > 
> > Andrew, can you confirm (and close if you think these are fixed)?
> 
> It is not fixed for me on PPC:
>         cmpw cr7,r30,r28
>         crnot 30,29
>         mfcr r3
>         rlwinm r3,r3,31,1
>         bl L_f$stub
> 
> r3 is where the first argrument is stored.
> 
> but you are right about the last testcase being wrong.
Hmmm, something must have changed since it doesn't look like the jump
is being threaded anymore on ia32 either.

Let's keep this one open, but odds are it needs to be targeted at 4.1.

jeff




-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14341

Reply via email to