gcc-patches@gcc.gnu.org
[Top] [All Lists]

Re: [PATCH] Attribute noclone

Subject: Re: [PATCH] Attribute noclone
From: Richard Henderson
Date: Fri, 17 Jul 2009 14:01:03 -0700
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~

<Prev in Thread] Current Thread [Next in Thread>