Hi Arsen,

I assume that you'd want a better commit message.

"fixup" commits are usually not pushed. If you need to correct something in an 
already pushed commit, then you'd need to do a normal commit that addresses the issue 
you've found with a regular commit message.

Kind regards,
Torbjörn


On 2026-07-06 12:46, Arsen Arsenović wrote:
gcc/ChangeLog:

        * config/aarch64/aarch64-acle-builtins.cc
        (function_resolver::infer_pointer_type): Use TYPE_UNQUALIFIED
        instead of zero literal.
        * 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;
      }

Reply via email to