gcc/libstdc++-v3/include
Jonathan Wakely d920658cbb libstdc++: Fix unwanted #pragma messages from PSTL headers [PR113376]
When we rebased the PSTL on upstream, in r14-2109-g3162ca09dbdc2e, a
change to how _PSTL_USAGE_WARNINGS is set was missed out, but the change
to how it's tested was included. This means that the macro is always
defined, so testing it with #ifdef (instead of using #if to test its
value) doesn't work as intended.

Revert the test to use #if again, since that part of the upstream change
was unnecessary in the first place (the macro is always defined, so
there's no need to use #ifdef to avoid -Wundef warnings).

libstdc++-v3/ChangeLog:

	PR libstdc++/113376
	* include/pstl/pstl_config.h: Use #if instead of #ifdef to test
	the _PSTL_USAGE_WARNINGS macro.

(cherry picked from commit 99a1fe6c12c733fe4923a75a79d09a66ff8abcec)
2024-07-12 11:12:27 +01:00
..
backward Update copyright years. 2024-01-03 12:19:35 +01:00
bits libstdc++: Fix std::format for chrono::duration with unsigned rep [PR115668] 2024-06-28 10:44:00 +01:00
c Update copyright years. 2024-01-03 12:19:35 +01:00
c_compatibility libstdc++: Fix _Atomic(T) macro in <stdatomic.h> [PR115807] 2024-07-09 19:59:21 +01:00
c_global Update copyright years. 2024-01-03 12:19:35 +01:00
c_std Update copyright years. 2024-01-03 12:19:35 +01:00
debug libstdc++: Fix N3344 behavior on _Safe_iterator::_M_can_advance 2024-03-18 22:30:55 +01:00
decimal Update copyright years. 2024-01-03 12:19:35 +01:00
experimental libstdc++: Fix find_last_set(simd_mask) to ignore padding bits 2024-06-20 13:28:06 +02:00
ext Update copyright years. 2024-01-03 12:19:35 +01:00
parallel Update copyright years. 2024-01-03 12:19:35 +01:00
precompiled libstdc++: Add <print> and <text_encoding> to stdc++.h 2024-01-19 10:21:47 -05:00
pstl libstdc++: Fix unwanted #pragma messages from PSTL headers [PR113376] 2024-07-12 11:12:27 +01:00
std libstdc++: Fix std::to_array for trivial-ish types [PR115522] 2024-07-12 11:12:27 +01:00
tr1 Update copyright years. 2024-01-03 12:19:35 +01:00
tr2 libstdc++: Guard tr2::bases and tr2::direct_bases with __has_builtin 2024-02-08 15:58:14 +00:00
Makefile.am libstdc++: add ARM SVE support to std::experimental::simd 2024-03-27 15:14:36 +01:00
Makefile.in libstdc++: add ARM SVE support to std::experimental::simd 2024-03-27 15:14:36 +01:00