Landing: a3d09e109004

Project / Subsystem

gcc / xtensa

Date

2026-09-12

Author

Takayuki 'January June' Suwa

Commit

a3d09e10900457d3ef91519611aac268b9e7dc42

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
xtensa
patch_id
—
commit_hash
a3d09e10900457d3ef91519611aac268b9e7dc42
source_type
github
headline
XTENSA: Make xt_true_regnum() a static function
tldr
The xtensa-specific function xt_true_regnum() is now static as it's not called externally.
author
Takayuki 'January June' Suwa
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • xtensa
  • • cleanup
  • • code quality
discussion_id_link
—
bugzilla_pr
—
date
2026-09-12T00:00:00.000Z

The xt_true_regnum() function, used for Xtensa target-specific register number handling, has been made static. This change reflects that the function is only used internally within its defining file (xtensa.cc) and is not called by any other source files in the GCC build. Making it static improves encapsulation and avoids polluting the global namespace.