This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Attribute noclone


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~



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]