https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126744
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Karl Meakin <[email protected]>: https://gcc.gnu.org/g:db23bde17dac17ad9f1449d21984db128ba3c824 commit r17-6837-gdb23bde17dac17ad9f1449d21984db128ba3c824 Author: Karl Meakin <[email protected]> Date: Mon Sep 28 16:13:33 2026 +0000 AArch64: Fix ODR warning for NEON intrinsics [PR126744] The `_shape` objects were declared in `aarch64-neon-builtins-shapes.h` as pointer-to-const, but were defined in `aarch64-neon-builtins-shapes.cc` as pointer-to-non-const. This triggered an `-Wodr` warning when building with LTO, which broke bootstrap when compiling with `-Werror`. Fix by const-qualifying the pointer at the definition site. Fixes PR126744. gcc/ChangeLog: PR target/126744 * config/aarch64/aarch64-neon-builtins-shapes.cc (DEF_NEON_FUNCTION): Include `aarch64-neon-builtins-shapes.h` and const-qualify the pointer types of the `_shape` objects.
