This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] FIx volatile vs IPA pure/const pass (PR tree-opt/29964)
On Fri, 2006-11-24 at 13:18 -0500, Diego Novillo wrote:
> Andrew Pinski wrote on 11/24/06 13:12:
> > * ipa-pure-const.c (check_tree): If the original tree
> > is volatile return early and say the function is not pure
> > nor const. Remove the volatile check for writes.
> > (analyze_function): Print out the result of the local
> > analysis pass.
Also applied to the 4.2 branch after a bootstrap/test on i686-linux-gnu
since this is a regression from 4.0.4.