Landing: 416290b10bb9

Project / Subsystem

gcc / gcc/c-family

Date

2026-09-24

Author

Josef Melcr

Commit

416290b10bb9cb45361630b61af09200962bd5a5

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/c-family
patch_id
—
commit_hash
416290b10bb9cb45361630b61af09200962bd5a5
source_type
github
headline
Remove dead code from callback_only attribute handler
tldr
Redundant loops have been removed from GCC's callback_only attribute handler.
author
Josef Melcr
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cleanup
  • • attributes
discussion_id_link
—
bugzilla_pr
—
date
2026-09-24T00:00:00.000Z

This commit cleans up the handle_callback_only_attribute function in GCC by removing two obsolete loops. These loops were previously used for validation logic that has since been changed, making the loops ineffective and unnecessary. Their removal simplifies the code without altering its functionality.