This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Don't assume const/pure calls are total (fix PRtree-optimization/19828) (take 2)
On Fri, 2005-02-18 at 19:28 -0500, Jakub Jelinek wrote:
> On Fri, Feb 18, 2005 at 01:12:08PM -0800, Richard Henderson wrote:
> > On Fri, Feb 18, 2005 at 07:31:53PM +0100, Zdenek Dvorak wrote:
> > > I have reached basically the same conclusion and prepared an equivalent
> > > patch a few minutes ago; using get_call_expr_in as you do is a bit
> > > cleaner, but I would very much like to see the comments from my patch
> > > included in the final solution.
> > I agree.
> Here is what I have bootstrapped/regtested on 7 linux arches.
> Ok to commit?
> 2005-02-19 Zdenek Dvorak <firstname.lastname@example.org>
> Jakub Jelinek <email@example.com>
> PR tree-optimization/19828
> * tree-ssa-loop-im.c: Add a TODO comment.
> (movement_possibility): Return MOVE_PRESERVE_EXECUTION for calls
> without side-effects.
> * gcc.dg/tree-ssa/loop-7.c: New test.
> * gcc.c-torture/execute/20050218-1.c: New test.
This is fine.