Landing: 7b18a7c536e6

Project / Subsystem

gcc / alpha

Date

2026-07-17

Author

Matt Turner

Commit

7b18a7c536e62dffdbdbeb5f7457ff22f1cc44dc

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
alpha
patch_id
commit_hash
7b18a7c536e62dffdbdbeb5f7457ff22f1cc44dc
source_type
github
headline
Alpha TLS code generation improved by removing reload gate.
tldr
Alpha TLS code generation no longer gates a crucial check on `reload_completed`, fixing loop unrolling issues.
author
Matt Turner
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • alpha
  • tls
  • optimization
discussion_id_link
bugzilla_pr
date
2026-07-17T00:00:00.000Z

On the Alpha architecture, a check to prevent copying instructions (alpha_cannot_copy_insn_p) was incorrectly gated by reload_completed. This prevented the protection from applying to TLS (Thread-Local Storage) code generated before register allocation. This commit removes the gate, allowing the compiler to correctly handle TLS instruction pairs during loop unrolling and preventing assembler errors related to duplicate identifiers.