gcc/libstdc++-v3/include
Tomasz Kamiński 599d2902b0 libstdc++: Fix required alignment computation for floating points [PR122267]
Before the r16-4349-g90dde804626f13 the required alignment of floating point,
and pointer specialization used __alignof__(_Vt) as required_alignment, and
mentioned commit changed them to alignof(_Vt). This values differs on i686
for double, as alignof(double) is 4, and __alignof__(double) is 8.

This patch restores the previous behavior.

	PR libstdc++/122267

libstdc++-v3/ChangeLog:

	* include/bits/atomic_base.h
	(__atomic_ref_base<const _Tp>::_S_required_alignment):
	Use __alignof__	instead of alignof.

Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
2025-10-14 13:10:23 +02:00
..
backward Update copyright years. 2025-01-02 11:59:57 +01:00
bits libstdc++: Fix required alignment computation for floating points [PR122267] 2025-10-14 13:10:23 +02:00
c Update copyright years. 2025-01-02 11:59:57 +01:00
c_compatibility libstdc++: Implement <stdckdint.h> for C++26 (P3370R1) 2025-03-13 14:45:38 +00:00
c_global libstdc++: Use __promote_3 for std::hypot [PR121097] 2025-07-17 09:48:12 +01:00
c_std Update copyright years. 2025-01-02 11:59:57 +01:00
debug libstdc++: Constrain __gnu_debug::bitset(const CharT*) constructor [PR121046] 2025-09-12 14:08:23 +01:00
decimal Update copyright years. 2025-01-02 11:59:57 +01:00
experimental libstdc++: Make all experimental::observer_ptr functions constexpr 2025-07-15 10:25:43 +01:00
ext libstdc++: Fix warnings from std::make_unsigned<_Atomic_word> [PR122172] 2025-10-11 00:09:19 +01:00
parallel libstdc++: Fix more unqualified uses of make_pair 2025-02-14 15:33:12 +00:00
precompiled libstdc++: Fix up <ext/pointer.h> [PR121827] 2025-09-08 11:49:58 +02:00
pstl libstdc++: Fix memory leak in PSTL TBB backend [PR117276] 2025-09-12 14:09:33 +01:00
std libstdc++: Adjust enable_nonlocking_formatter_optimization specializations [PR121790] 2025-10-10 09:23:01 +02:00
tr1 Update copyright years. 2025-01-02 11:59:57 +01:00
tr2 libstdc++: Use constexpr-if for C++11 and C++14 2025-04-29 10:52:59 +01:00
Makefile.am libstdc++: Remove unwanted STDC_HEADERS macro from c++config.h [PR79147] 2025-09-25 14:51:50 +01:00
Makefile.in *: regenerate autotools 2025-10-05 17:14:49 +01:00