> -----Original Message-----
> From: Arsen Arsenović <[email protected]>
> Sent: 06 July 2026 11:47
> To: [email protected]
> Cc: Kyrylo Tkachov <[email protected]>; [email protected]; Ramana
> Radhakrishnan <[email protected]>; Richard Earnshaw
> <[email protected]>; Tamar Christina <[email protected]>;
> Arsen Arsenović <[email protected]>
> Subject: [FIXUP arm/aarch64] fixup! gcc: stop using 'int' to represent sets of
> qualifiers
> 
> gcc/ChangeLog:
> 
>       * config/aarch64/aarch64-acle-builtins.cc
>       (function_resolver::infer_pointer_type): Use TYPE_UNQUALIFIED
>       instead of zero literal.

This is OK. I can't approve the Arm one.

Thanks,
Tamar

>       * config/arm/arm-mve-builtins.cc
>       (function_resolver::infer_pointer_type): Use TYPE_UNQUALIFIED
>       instead of zero literal.
> 
> ---
> Hi ARM maintainers!
> 
> The Linaro CI noticed that I missed some build errors in the ARM and
> aarch64 backends.  This fixes them.
> 
> I've tested building aarch64-elf target, it does build, and should be no
> change.
> 
>  gcc/config/aarch64/aarch64-acle-builtins.cc | 2 +-
>  gcc/config/arm/arm-mve-builtins.cc          | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/gcc/config/aarch64/aarch64-acle-builtins.cc
> b/gcc/config/aarch64/aarch64-acle-builtins.cc
> index 426316001ced..7bf729639082 100644
> --- a/gcc/config/aarch64/aarch64-acle-builtins.cc
> +++ b/gcc/config/aarch64/aarch64-acle-builtins.cc
> @@ -1265,7 +1265,7 @@ function_resolver::infer_pointer_type (unsigned
> int argno,
>      {
>        error_at (location, "passing %qT to argument %d of %qE, but %qT is not"
>               " a valid SVE element type", actual, argno + 1, fndecl,
> -             build_qualified_type (target, 0));
> +             build_qualified_type (target, TYPE_UNQUALIFIED));
>        return NUM_TYPE_SUFFIXES;
>      }
>    unsigned int bits = type_suffixes[type].element_bits;
> diff --git a/gcc/config/arm/arm-mve-builtins.cc b/gcc/config/arm/arm-mve-
> builtins.cc
> index 5a46deef8cfd..6bbec68daacc 100644
> --- a/gcc/config/arm/arm-mve-builtins.cc
> +++ b/gcc/config/arm/arm-mve-builtins.cc
> @@ -1271,7 +1271,7 @@ function_resolver::infer_pointer_type (unsigned
> int argno)
>      {
>        error_at (location, "passing %qT to argument %d of %qE, but %qT is not"
>               " a valid MVE element type", actual, argno + 1, fndecl,
> -             build_qualified_type (target, 0));
> +             build_qualified_type (target, TYPE_UNQUALIFIED));
>        return NUM_TYPE_SUFFIXES;
>      }
> 
> --
> 2.54.0

Reply via email to