]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: adjust testcase to reveal failure [PR107919]
authorJason Merrill <jason@redhat.com>
Fri, 6 Sep 2024 19:14:33 +0000 (15:14 -0400)
committerJason Merrill <jason@redhat.com>
Fri, 6 Sep 2024 19:29:11 +0000 (15:29 -0400)
commit1fa45e77154732af147e87aee1779a3b10db2b7a
tree49ca1e3f3bbd75ded2d2ae8fba4732df0e115a1b
parente4b64bea337d9ac936c555154f9d60c4876b65d3
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.
gcc/testsuite/g++.dg/warn/Wuninitialized-pr107919-1.C