Sam James <sam at gentoo dot org>


Found
r1924100

r1924100 | brane | 2025-02-28 16:46:45 +0000 (Fri, 28 Feb 2025)

Deprecate and disable the SVN_UNALIGNED_ACCESS_IS_OK macro.

Compiler optimizations that generate vector instructions will cause crashes
at least on x86 and probably other architectures if memory access is not
properly aligned. Compiler-generated vectorized code will be faster than
the manually coded optimizations anyway.

* notes/knobs (SVN_UNALIGNED_ACCESS_IS_OK): Note that the macro is deprecated.

* subversion/include/svn_types (SVN_UNALIGNED_ACCESS_IS_OK): Always set the
  value of this macro to 0. We can't remove it because it's part of the
  public API.

Reported by: Sam James <sam at gentoo dot org>