Landing: c7e8bbbef58e

Project / Subsystem

gcc / gcc

Date

2026-08-10

Author

Josef Melcr

Commit

c7e8bbbef58ea6eecb7aa6a3084162bebec4104d

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
—
commit_hash
c7e8bbbef58ea6eecb7aa6a3084162bebec4104d
source_type
github
headline
Return early in callback_only attribute handler if not used on function
tldr
Fixes an ICE in the callback_only attribute handler by adding an early return for non-function targets.
author
Josef Melcr
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • bugfix
  • • attribute
  • • compiler-error
discussion_id_link
—
bugzilla_pr
—
date
2026-08-10T00:00:00.000Z

An Internal Compiler Error (ICE) in GCC’s callback_only attribute handler has been fixed by adding a missing return statement. This ensures the handler correctly exits when the attribute is not applied to a function, preventing issues that arose after the introduction of positional_argument handling.