r1924143 | stsp | 2025-03-03 08:51:18 +0000 (Mon, 03 Mar 2025)
Remove optimized unaligned-access code paths.
With newer compilers using vector instructions, these manual optimizations can
lead to build errors and do not provide benefits over compiler optimizations.
See also r1924100 which deprecated and disabled the corresponding macro.
* subversion/libsvn_diff/diff_file.c
(contains_eol): Remove.
(find_identical_prefix, find_identical_suffix): Remove code under
#ifdef SVN_UNALIGNED_ACCESS_IS_OK.
* subversion/libsvn_fs_fs/tree.c
(hash_func): Remove code under #ifdef SVN_UNALIGNED_ACCESS_IS_OK.
* subversion/libsvn_fs_x/dag_cache.c
(cache_lookup): Remove code under #ifdef SVN_UNALIGNED_ACCESS_IS_OK.
* subversion/libsvn_fs_x/string_table.c
(copy_masks): Remove.
(table_copy_string): Remove code under #ifdef SVN_UNALIGNED_ACCESS_IS_OK.
* subversion/libsvn_subr/eol.c
(svn_eol__find_eol_start): Remove code under #ifdef
SVN_UNALIGNED_ACCESS_IS_OK.
* subversion/libsvn_subr/hash.c
(hashfunc_compatible): Remove code under #ifdef SVN_UNALIGNED_ACCESS_IS_OK.
* subversion/libsvn_subr/string.c
(svn_cstring__match_length): Remove code under #ifdef
SVN_UNALIGNED_ACCESS_IS_OK.
* subversion/libsvn_subr/utf_validate.c
(first_non_fsm_start_char): Remove code under #ifdef
SVN_UNALIGNED_ACCESS_IS_OK.
Reported by: Sam James from gentoo