Re: [PATCH v4 4/5] Add tests for C/C++ musttail attributes

2024-02-02 Thread Andi Kleen
> Sorry, I wasn't clear about this in previous patch -- noipa will > subsume other ipa attributes, > so there's no need to have noinline, noclone along with noipa. > int __attribute__((noipa)) callee(int i) should be sufficient for > disabling IPA optimizations involving callee. I thought you were

Re: [PATCH v4 4/5] Add tests for C/C++ musttail attributes

2024-02-02 Thread Prathamesh Kulkarni
On Fri, 2 Feb 2024 at 14:44, Andi Kleen wrote: > > Mostly adopted from the existing C musttail plugin tests. > > gcc/testsuite/ChangeLog: > > * c-c++-common/musttail1.c: New test. > * c-c++-common/musttail2.c: New test. > * c-c++-common/musttail3.c: New test. > * c-

[PATCH v4 4/5] Add tests for C/C++ musttail attributes

2024-02-02 Thread Andi Kleen
Mostly adopted from the existing C musttail plugin tests. gcc/testsuite/ChangeLog: * c-c++-common/musttail1.c: New test. * c-c++-common/musttail2.c: New test. * c-c++-common/musttail3.c: New test. * c-c++-common/musttail4.c: New test. * c-c++-common/musttai