> On Sun, Jan 4, 2026 at 2:45 PM Jose E. Marchesi
> <[email protected]> wrote:
>>
>> Signed-off-by: Jose E. Marchesi <[email protected]>
>>
>> gcc/algol68/ChangeLog
>>
>> * a68-lang.cc (a68_post_options): Disable psABI warnings.
>> ---
>> gcc/algol68/a68-lang.cc | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/gcc/algol68/a68-lang.cc b/gcc/algol68/a68-lang.cc
>> index ea794c8bdf8..c8e0a5767af 100644
>> --- a/gcc/algol68/a68-lang.cc
>> +++ b/gcc/algol68/a68-lang.cc
>> @@ -632,6 +632,9 @@ a68_post_options (const char **filename ATTRIBUTE_UNUSED)
>> if (flag_bounds_check)
>> OPTION_BOUNDS_CHECKING (&A68_JOB) = true;
>>
>> + /* No psABI change warnings for Algol 68. */
>> + warn_psabi = 0;
>
> I am not sure this is correct. At least currently it might be
> reasonable to do. But in the future this means you won't get warnings
> if the ABI for some target changes slightly.
I was actually thinking about that too, what about future psABI changes.
GNAT also does the same thing ("No psABI change warnings for Ada").
I suppose we could introduce a language hook with the version of GCC in
which the front-end was introduced, and emit the warnings/notes based on
that?
> Thanks,
> Andrew
>
>> +
>> return false;
>> }
>>
>> --
>> 2.30.2
>>