Landing: 9bfc05c8a91f

Project / Subsystem

gcc / aarch64

Date

2026-07-01

Author

Karl Meakin

Commit

9bfc05c8a91f3f89d579afa3a79cce1c0da34184

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
aarch64
patch_id
commit_hash
9bfc05c8a91f3f89d579afa3a79cce1c0da34184
source_type
github
headline
Relax type-checking for aarch64 NEON builtins
tldr
Fixes an assertion failure in aarch64 NEON builtins by using a more robust type comparison.
author
Karl Meakin
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • aarch64
  • neon
  • builtins
  • typedef
discussion_id_link
bugzilla_pr
date
2026-07-01T00:00:00.000Z

This commit addresses an assertion failure in the aarch64 NEON builtins related to type checking. The issue occurred when comparing arg_type with TREE_TYPE(b) by pointer address, which failed if one type was a typedef for another (e.g., uint32x2_t and __Uint32x2_t). The fix replaces the strict pointer comparison with types_compatible_p, providing a more lenient and correct type comparison.