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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=122117

--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
C23 adds memalignment which returns the alignment of a pointer. Aka `ptr &
-ptr` which can/should be used instead of __builtin_is_aligned.

__builtin_is_aligned can be translated to just `(memalignment (x) >= align)`.

Reply via email to