Landing: b14ad46e6689

Project / Subsystem

gcc / aarch64

Date

2026-06-17

Author

Kyrylo Tkachov

Commit

b14ad46e6689cba2dd316bf677ad4f36278f9d3d

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
aarch64
patch_id
commit_hash
b14ad46e6689cba2dd316bf677ad4f36278f9d3d
source_type
github
headline
aarch64 fixes ICE related to function argument alignment with may_alias
tldr
Resolution for an ICE on aarch64 when handling function argument alignment with `may_alias` attribute.
author
Kyrylo Tkachov
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • aarch64
  • compiler bug
  • alignment
  • ICE
discussion_id_link
bugzilla_pr
date
2026-06-17T00:00:00.000Z

A compiler ice (Internal Compiler Error) on the aarch64 backend, related to function argument alignment when the may_alias attribute is used, has been fixed. The issue occurred because the compiler incorrectly retained user-specified alignment on types that were their own main variant due to may_alias. The fix ensures that user alignment is ignored, and the natural mode alignment is used, aligning behavior with AAPCS64 and Clang.