Landing: 16355119ad3c
Project / Subsystem
gcc / i386
Date
2026-05-14
Author
Richard Sandiford
Commit
16355119ad3c7e209e1e5bdac5849355205ad3fb
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- i386
- patch_id
- —
- commit_hash
- 16355119ad3c7e209e1e5bdac5849355205ad3fb
- source_type
- github
- headline
- Avoid reading call_used_regs for ABI-specific information
- tldr
- x86 now explicitly queries ABIs instead of using the legacy `call_used_regs` interface.
- author
- Richard Sandiford
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • i386
- • abi
- • refactor
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-14T00:00:00.000Z
This commit replaces the use of the legacy call_used_regs interface with explicit ABI querying in several i386 functions. This change ensures that functions like ix86_emit_tls_call and x86_order_regs_for_local_alloc correctly query the system ABI or the current function’s ABI, rather than relying on a potentially ambiguous global default. This sets the stage for more robust handling of multiple ABIs.