> 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

Reply via email to