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

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Using memcpy is the portable way, and most compilers will optimize it
reasonably well.
For alignment assertions, you can use e.g. __builtin_assume_aligned builtin to
tell the compiler about the alignment guarantees.

Reply via email to