Landing: d68cbbb3ae00

Project / Subsystem

gcc / i386

Date

2026-05-14

Author

Richard Sandiford

Commit

d68cbbb3ae0010446c76dacd20b5c225e0535812

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
i386
patch_id
commit_hash
d68cbbb3ae0010446c76dacd20b5c225e0535812
source_type
github
headline
i386: Split out call_saved_registers_type detection
tldr
Refactors i386 register type detection into a reusable function to simplify upcoming ABI changes and improve maintainability.
author
Richard Sandiford
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • i386
  • refactor
  • ABI
discussion_id_link
bugzilla_pr
date
2026-05-14T00:00:00.000Z

The i386 backend now extracts call-saved register type detection into a dedicated subroutine. This functionality was previously duplicated in functions setting up the function type and checking for callee-saved registers. The refactoring anticipates future changes to function ABI handling and consolidates the logic, improving code clarity and reducing potential inconsistencies.