https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122267

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tomasz Kaminski <[email protected]>:

https://gcc.gnu.org/g:599d2902b0afd56485b56752a75b0f7a3b090c76

commit r16-4418-g599d2902b0afd56485b56752a75b0f7a3b090c76
Author: Tomasz KamiÅski <[email protected]>
Date:   Tue Oct 14 11:06:35 2025 +0200

    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 <[email protected]>

Reply via email to