Landing: c5627f93a825

Project / Subsystem

gcc / gcc

Date

2026-07-12

Author

Torbjörn SVENSSON

Commit

c5627f93a8259131da2cdebee6d9b0e1f2de1a60

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
commit_hash
c5627f93a8259131da2cdebee6d9b0e1f2de1a60
source_type
github
headline
Make -Wuse-after-free an alias for -Wuse-after-free=1
tldr
Standardizes -Wuse-after-free warning handling by making it an alias for a specific option instance.
author
Torbjörn SVENSSON
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • diagnostics
  • compiler internals
discussion_id_link
bugzilla_pr
date
2026-07-12T00:00:00.000Z

This commit unifies the handling of the -Wuse-after-free warning. It makes the flag an alias for -Wuse-after-free=1, ensuring that both the bare flag and the version with an argument are processed identically. This change simplifies internal option management, directs pragmas and suppressions to the correct diagnostic group, and updates documentation.