[PATCH] Attribute noclone
Richard Henderson
rth@redhat.com
Fri Jul 17 21:33:00 GMT 2009
On 07/17/2009 01:33 PM, Martin Jambor wrote:
>> What, specifically, is this need?
>
> testsuite/gcc.c-torture/execute/pr17377.c
For things like this, I've previously added -fno-ipa-cp to the testcase.
E.g. testsuite/gcc.dg/sibcall-6.c.
> Well, that was the idea... except for the bugs in ipa-cp, there should
> not be any. OTOH, if any other pass creates clones, it might
> introduce problems like the one with pr17377.c testcase too and will
> need to be disabled too. Thus noclone should work for all of them.
If we were to to this, we might as well just move the noinline check
into copy_forbidden and just use the one attribute.
r~
More information about the Gcc-patches
mailing list