Landing: 1887cd4b8fd0

Project / Subsystem

gcc / gcc/hppa

Date

2026-09-09

Author

John David Anglin

Commit

1887cd4b8fd0a9490f415d33659b97806b125a33

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/hppa
patch_id
—
commit_hash
1887cd4b8fd0a9490f415d33659b97806b125a33
source_type
github
headline
Fix register allocator issues on PA-RISC.
tldr
Register allocator on PA-RISC fixed to handle spills with soft frame pointers and type-punned subregs.
author
John David Anglin
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • hppa
  • • register allocation
  • • compiler bug
discussion_id_link
—
bugzilla_pr
—
date
2026-09-09T00:00:00.000Z

This commit addresses issues with the LRA (Local Register Allocation) register allocator on the PA-RISC backend, which is now the default. It resolves problems related to handling spills when using a soft frame pointer, where invalid offsets caused instruction recognition failures. Additionally, it improves the handling of type-punned subregisters by updating the reload mechanism. These fixes are necessary for building several Debian packages.