Landing: 3b99fd4bdc70

Project / Subsystem

gcc / gcc/machmode

Date

2026-09-16

Author

Alfie Richards

Commit

3b99fd4bdc7005333b0c760630f5db6ceeb81e5a

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/machmode
patch_id
—
commit_hash
3b99fd4bdc7005333b0c760630f5db6ceeb81e5a
source_type
github
headline
Centralize machine mode parsing with a new function
tldr
New function `parse_machine_mode` consolidates mode parsing logic across GCC.
author
Alfie Richards
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • refactor
  • • internal API
  • • machmode
discussion_id_link
—
bugzilla_pr
—
date
2026-09-16T00:00:00.000Z

GCC has introduced a new function, parse_machine_mode, to centralize the parsing of machine mode representations. This function replaces manual parsing logic in several areas, including read-rtl.cc, config/riscv/riscv-v.cc, and c-family/c-attribs.cc. This change aims to improve code consistency and maintainability by providing a single, well-defined interface for mode parsing.