Landing: 2bdddfa9e319

Project / Subsystem

gcc / gcc/testsuite

Date

2026-05-15

Author

Marek Polacek

Commit

2bdddfa9e31918fcb1829070866e9428c3606def

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/testsuite
patch_id
commit_hash
2bdddfa9e31918fcb1829070866e9428c3606def
source_type
github
headline
Testsuite: Fix Wuninitialized-pr107919-1.C
tldr
The test case 'Wuninitialized-pr107919-1.C' in GCC's testsuite has been fixed to avoid false positives.
author
Marek Polacek
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • testsuite
  • warning
  • uninitialized
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-05-15T00:00:00.000Z

The test case g++.dg/warn/Wuninitialized-pr107919-1.C was incorrectly flagged as dg-bogus which means that the test case was expected to fail but it didn’t. This commit addresses this by fixing the test case so it behaves as expected.