> Am 08.07.2024 um 17:22 schrieb Andi Kleen <a...@linux.intel.com>: > > On Mon, Jul 08, 2024 at 08:53:27AM +0200, Richard Biener wrote: >> Ah, I see. So this pass is responsible for both -O0 and >> -fno-optimized-sibling-calls. >> But I'm quite sure the other pass doesn't run with -O0 >> -foptimize-sibling-calls, does it? > > It does run: > > ./cc1 -O0 -fdump-passes -foptimize-sibling-calls t.c 2>&1 | grep tail > tree-tailr1 : ON > tree-tailr2 : ON > tree-tailc : ON I would not trust -fdump-passes, IIRC that just executes the gate functions. > But I suspect without the earlier expand patch to adjust the cfg rebuild it > may > ICE on some of the targets. > > -Andi
- [PATCH v8 04/12] C++: Support clang compatible [[musttail]]... Andi Kleen
- [PATCH v8 12/12] Mark expand musttail error messages for tr... Andi Kleen
- Re: [PATCH v8 12/12] Mark expand musttail error messag... Richard Biener
- [PATCH v8 06/12] Add tests for C/C++ musttail attributes Andi Kleen
- Re: [PATCH v8 06/12] Add tests for C/C++ musttail attr... Richard Biener
- [PATCH v8 07/12] Enable musttail tail conversion even when ... Andi Kleen
- Re: [PATCH v8 07/12] Enable musttail tail conversion e... Richard Biener
- Re: [PATCH v8 07/12] Enable musttail tail conversi... Andi Kleen
- Re: [PATCH v8 07/12] Enable musttail tail conv... Richard Biener
- Re: [PATCH v8 07/12] Enable musttail tail ... Andi Kleen
- Re: [PATCH v8 07/12] Enable musttail ... Richard Biener
- Re: [PATCH v8 07/12] Enable mustt... Andi Kleen
- [PATCH v8 09/12] Delay caller error reporting for musttail Andi Kleen
- Re: [PATCH v8 09/12] Delay caller error reporting for ... Richard Biener
- Re: [PATCH v8 09/12] Delay caller error reporting ... Andi Kleen
- Re: [PATCH v8 09/12] Delay caller error report... Richard Biener
- [PATCH v8 10/12] Add documentation for musttail attribute Andi Kleen
- Re: [PATCH v8 10/12] Add documentation for musttail at... Richard Biener
- [PATCH v8 11/12] Dump reason for missing tail call into dum... Andi Kleen
- Re: [PATCH v8 11/12] Dump reason for missing tail call... Richard Biener