https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107919
--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:1fa45e77154732af147e87aee1779a3b10db2b7a commit r15-3522-g1fa45e77154732af147e87aee1779a3b10db2b7a Author: Jason Merrill <ja...@redhat.com> Date: Fri Sep 6 15:14:33 2024 -0400 c++: adjust testcase to reveal failure [PR107919] This test appeared to be passing, but only because the warning was suppressed by #pragma system_header. PR tree-optimization/107919 gcc/testsuite/ChangeLog: * g++.dg/warn/Wuninitialized-pr107919-1.C: Add -Wsystem-headers and xfail.