Hi gcc-patches mailing list,
Karl Meakin via Sourceware Forge 
<[email protected]> has requested that the 
following forgejo pull request
be published on the mailing list.

Created on: 2026-07-01 12:55:50+00:00
Latest update: 2026-07-01 12:56:04+00:00
Changes: 2 changed files, 29 additions, 1 deletions
Head revision: karmea01/gcc-TEST ref km/neon-port-bugfixes commit 
725b7529a2372ffa5a48d634ad189796a38c4207
Base revision: gcc/gcc-TEST ref trunk commit 
44e33b2d621d6d5e5fd635ad2595bbf99cd80521 r17-2056-g44e33b2d621d6d
Merge base: 44e33b2d621d6d5e5fd635ad2595bbf99cd80521
Full diff url: https://forge.sourceware.org/gcc/gcc-TEST/pulls/183.diff
Discussion:  https://forge.sourceware.org/gcc/gcc-TEST/pulls/183
Requested Reviewers:

Comparing `arg_type` and `TREE_TYPE (b)` by pointer address causes an
assertion failure when one type is a `typedef` for the other (eg
`uint32x2_t` and `__Uint32x2_t`. Fix by using a more relaxed comparison.

gcc/ChangeLog:

        * config/aarch64/aarch64-neon-builtins-base.cc: Compare
        `arg_type` and `TREE_TYPE (b)` by comparing their mode and
        unsigned-ness, rather than their pointer address.

gcc/testsuite/ChangeLog:

        * gcc.target/aarch64/pr126064.c: New test.

Thanks for taking the time to contribute to GCC!

Please be advised that https://forge.sourceware.org/ is currently a trial
that is being used by the GCC community to experiment with a new workflow
based on pull requests.

Pull requests sent here may be forgotten or ignored. Patches that you want to
propose for inclusion in GCC should use the existing email-based workflow,
see https://gcc.gnu.org/contribute.html


Changed files:
- A: gcc/testsuite/gcc.target/aarch64/pr126064.c
- M: gcc/config/aarch64/aarch64-neon-builtins-base.cc


Karl Meakin (1):
  aarch64: fix pr126064

 .../aarch64/aarch64-neon-builtins-base.cc     |  3 ++-
 gcc/testsuite/gcc.target/aarch64/pr126064.c   | 27 +++++++++++++++++++
 2 files changed, 29 insertions(+), 1 deletion(-)
 create mode 100644 gcc/testsuite/gcc.target/aarch64/pr126064.c

-- 
2.54.0

Reply via email to