Re: [PATCH v1 2/2] PR116019: Improve tail call error message

2024-07-26 Thread Richard Biener
On Fri, Jul 26, 2024 at 12:55 AM Andi Kleen wrote: > > From: Andi Kleen > > The "tail call must be the same type" message is common on some > targets with C++, or without optimization. It is generated > when gcc believes there is an access of the return value > after the call. However usually it

[PATCH v1 2/2] PR116019: Improve tail call error message

2024-07-25 Thread Andi Kleen
From: Andi Kleen The "tail call must be the same type" message is common on some targets with C++, or without optimization. It is generated when gcc believes there is an access of the return value after the call. However usually it does not actually corespond to a type mismatch, but can be caused