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

            Bug ID: 122117
           Summary: Add built-in memalignment
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

C23 adds a memalignment function to determine the alignment of a pointer. Given
how simple it is (convert pointer to an integer then return (p & -p)), GCC
should support expanding it inline.

Reply via email to