]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Disable PCH for test that depends on a macro being defined
authorJonathan Wakely <jwakely@redhat.com>
Wed, 22 Sep 2021 13:11:54 +0000 (14:11 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 23 Sep 2021 15:07:39 +0000 (16:07 +0100)
commit8fa90926e08950cc00d0e22eace27402b9f9fa57
treed71682fe4aa661960be64c9ed9699b23a45e2d9e
parent477897451e46d67acb46f3ac45585e6eb9e7dde5
libstdc++: Disable PCH for test that depends on a macro being defined

This test tries to ensure that <system_error> can be included after
defining _XOPEN_SOURCE=600, which doesn't test anything if that header
is already included via the <bits/stdc++.h> PCH before the macro
definition. Disable PCH so that it behaves as intended.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:

* testsuite/19_diagnostics/headers/system_error/93151.cc:
Disable PCH.
libstdc++-v3/testsuite/19_diagnostics/headers/system_error/93151.cc