Hi Andrea, Kanishka.

> On Fri, Jun 19, 2026 at 2:18 PM Kanishka Solanki
> <[email protected]> wrote:
>>
>> Hi,
>>
>> This patch disables strict aliasing in the Algol 68 frontend by setting
>> flag_strict_aliasing to 0 in a68_post_options().
>>
>> The frontend builds successfully and make check-algol68 passes with this
>> change.
>
> I am not sure that is the correct approach. If a68 does not want TBAA,
> the front-end should return 0 from LANG_HOOKS_GET_ALIAS_SET.

We need to reflect a bit on whether Algol 68 can benefit from
optimizations based on strict aliasing, and in fact on whether the
optimizations are correct with respect to the language's rules.

>
> Thanks,
> Andrea
>
>>
>> Thanks,
>> Kanishka Solanki
>>
>>

Reply via email to