Subject: [ext] Re: Addition of compiler flag for dynamic_cast optimization
On Mon, Jul 14 2025, Jonathan Wakely via Gcc wrote:
> On Mon, 14 Jul 2025 at 14:57, Thomas de Bock via Gcc wrote:
>>
>> Hello all, I've been looking into a compiler optimization implemented by
>&
On Mon, Jul 14 2025, Jonathan Wakely via Gcc wrote:
> On Mon, 14 Jul 2025 at 14:57, Thomas de Bock via Gcc wrote:
>>
>> Hello all, I've been looking into a compiler optimization implemented by
>> clang but not gcc that substitutes a __dynamic_cast call for a simple vtable
>> ptr comparison in th
4
To: Thomas de Bock
Cc: gcc@gcc.gnu.org
Subject: [ext] Re: Addition of compiler flag for dynamic_cast optimization
On Mon, 14 Jul 2025 at 14:57, Thomas de Bock via Gcc wrote:
>
> Hello all, I've been looking into a compiler optimization implemented by
> clang but not gcc that substi
On Mon, 14 Jul 2025 at 14:57, Thomas de Bock via Gcc wrote:
>
> Hello all, I've been looking into a compiler optimization implemented by
> clang but not gcc that substitutes a __dynamic_cast call for a simple vtable
> ptr comparison in the case that the class being cast to is final.
>
> However
Hello all, I've been looking into a compiler optimization implemented by clang
but not gcc that substitutes a __dynamic_cast call for a simple vtable ptr
comparison in the case that the class being cast to is final.
However this brings issues with it in some cases (specified in thread). I
belie