Landing: fde81f062246

Project / Subsystem

gcc / gcc

Date

2026-07-27

Author

Josef Melcr

Commit

fde81f062246fa91207c83ca4e09a07281547dd8

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
—
commit_hash
fde81f062246fa91207c83ca4e09a07281547dd8
source_type
github
headline
Use chain_index in callback_only attribute handler.
tldr
Refactors attribute handling to use a shared function for list element access.
author
Josef Melcr
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • refactor
  • • attributes
discussion_id_link
—
bugzilla_pr
—
date
2026-07-27T00:00:00.000Z

This change refactors the attribute handling code by replacing a custom function get_nth_list_elem with the existing chain_index function. This reduces code duplication and standardizes how list elements are accessed within attribute handlers, specifically for the callback_only attribute.