This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix gcc.dg/tree-ssa/loadpre6.c testcase
On Mon, May 31, 2010 at 3:21 AM, Andrew Pinski <pinskia@gmail.com> wrote:
>
>
> Sent from my iPhone
>
> On May 30, 2010, at 5:04 PM, Jan Hubicka <hubicka@ucw.cz> wrote:
>
>> Hi,
>> pure-const is now too smart to mark foo as pure that leads the testcase to
>> be optimized
>> too early. ?Fixed thus. OK?
>
> Huh? How can foo be consider const. It has a huge side effect of not
> returning normally (well at all).
It is considered looping pure/const which preserves that side-effect.
Can you instead of the current patch adjust the dump-scanning
to scan for 1 elimination and additionally for 2 insertions?
Thanks,
Richard.