Landing: 5e96cff93eca

Project / Subsystem

gcc / middle-end

Date

2026-08-11

Author

Josef Melcr

Commit

5e96cff93ecaa8bc4c8309241853f74ba638aaf8

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
middle-end
patch_id
—
commit_hash
5e96cff93ecaa8bc4c8309241853f74ba638aaf8
source_type
github
headline
Unset stdarg when lowering assumptions.
tldr
GCC now correctly unsets the 'stdarg' flag when lowering function assumptions.
author
Josef Melcr
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • compiler
  • • optimization
  • • middle-end
discussion_id_link
—
bugzilla_pr
—
date
2026-08-11T00:00:00.000Z

This patch corrects an issue in GCC’s middle-end where the ‘stdarg’ flag remained set on a function’s declaration even after its variable arguments were determined during the lowering of assumptions. This ensures the function’s signature accurately reflects its argument list, preventing potential misinterpretations.