Landing: aa141f17fbab

Project / Subsystem

gcc / aarch64

Date

2026-09-24

Author

Andrea Pinski

Commit

aa141f17fbab704e17e6c6cc046db91155b7bd21

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
aarch64
patch_id
—
commit_hash
aa141f17fbab704e17e6c6cc046db91155b7bd21
source_type
github
headline
aarch64: Fix ICE in aarch64_evpc_rev64_ext for testing_p case
tldr
Resolves an internal compiler error (ICE) on AArch64 by correctly handling a specific expansion case related to loop testing.
author
Andrea Pinski
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • aarch64
  • • compiler
  • • ICE
  • • backend
discussion_id_link
—
bugzilla_pr
—
date
2026-09-24T00:00:00.000Z

An internal compiler error occurred in the AArch64 backend when expanding a permutation instruction under certain loop-testing conditions. This fix adjusts the order of checks within the aarch64_evpc_rev64_ext function, ensuring that the test for whether the expansion statement has an associated basic block is performed correctly before checking if it’s within a loop. This prevents an ICE and ensures correct code generation.