Landing: 7e784194fe49

Project / Subsystem

gcc / gcc

Date

2026-08-20

Author

Jakub Jelinek

Commit

7e784194fe49e45c8fb78168064a9b2627493f09

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
—
commit_hash
7e784194fe49e45c8fb78168064a9b2627493f09
source_type
github
headline
Fix -fvar-tracking-uninit option interactions
tldr
Corrected the behavior of -fvar-tracking-uninit to properly imply -fvar-tracking, resolving issues with uninitialized variable tracking.
author
Jakub Jelinek
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gcc
  • • debugging
  • • compiler-options
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-08-20T00:00:00.000Z

A recent change that removed AUTODETECT_VALUE broke the interaction of the -fvar-tracking-uninit option. Previously, -fvar-tracking-uninit explicitly implied -fvar-tracking, and the option defaulted to enabled for optimization levels of 1 and above. The change restored the implication that -fvar-tracking-uninit enables -fvar-tracking, ensuring correct behavior for tracking uninitialized variables. It also re-establishes default behaviors that were inadvertently lost.