gcc/libstdc++-v3/include/pstl
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
..
algorithm_fwd.h libstdc++: Synchronize PSTL with upstream 2023-06-26 11:34:43 -07:00
algorithm_impl.h libstdc++: Synchronize PSTL with upstream 2023-06-26 11:34:43 -07:00
execution_defs.h libstdc++: Synchronize PSTL with upstream 2023-06-26 11:34:43 -07:00
execution_impl.h libstdc++: Synchronize PSTL with upstream 2023-06-26 11:34:43 -07:00
glue_algorithm_defs.h
glue_algorithm_impl.h libstdc++: Synchronize PSTL with upstream 2023-06-26 11:34:43 -07:00
glue_execution_defs.h libstdc++: Synchronize PSTL with upstream 2023-06-26 11:34:43 -07:00
glue_memory_defs.h
glue_memory_impl.h libstdc++: Synchronize PSTL with upstream 2023-06-26 11:34:43 -07:00
glue_numeric_defs.h libstdc++: Fix non-reserved names in PSTL headers 2023-02-16 11:34:20 +00:00
glue_numeric_impl.h libstdc++: Synchronize PSTL with upstream 2023-06-26 11:34:43 -07:00
LICENSE.txt
memory_impl.h libstdc++: Synchronize PSTL with upstream 2023-06-26 11:34:43 -07:00
numeric_fwd.h libstdc++: Synchronize PSTL with upstream 2023-06-26 11:34:43 -07:00
numeric_impl.h libstdc++: Synchronize PSTL with upstream 2023-06-26 11:34:43 -07:00
parallel_backend.h libstdc++: Synchronize PSTL with upstream 2023-06-26 11:34:43 -07:00
parallel_backend_serial.h libstdc++: Synchronize PSTL with upstream 2023-06-26 11:34:43 -07:00
parallel_backend_tbb.h libstdc++: Suppress deprecation messages from <tbb/task.h> [PR101228] 2024-03-19 15:59:44 +00:00
parallel_backend_utils.h
parallel_impl.h libstdc++: Synchronize PSTL with upstream 2023-06-26 11:34:43 -07:00
pstl_config.h libstdc++: Fix unwanted #pragma messages from PSTL headers [PR113376] 2024-07-12 11:12:27 +01:00
unseq_backend_simd.h libstdc++: Re-apply PR108672 fix (avoid use of naked int32_t in unseq_backend_simd.h) 2023-06-30 05:26:51 +02:00
utils.h libstdc++: Synchronize PSTL with upstream 2023-06-26 11:34:43 -07:00