[COMMITTED] a68: disable psABI warnings for Algol 68

Andrew Pinski andrew.pinski@oss.qualcomm.com
Sun Jan 4 22:52:19 GMT 2026


On Sun, Jan 4, 2026 at 2:45 PM Jose E. Marchesi
<jose.marchesi@oracle.com> wrote:
>
> Signed-off-by: Jose E. Marchesi <jemarch@gnu.org>
>
> 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.

Thanks,
Andrew

> +
>    return false;
>  }
>
> --
> 2.30.2
>


More information about the Algol68 mailing list