https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118813
--- Comment #15 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Haochen Jiang <jian...@gcc.gnu.org>: https://gcc.gnu.org/g:cec0326137ef91e2910a9c70eb9743f032e87137 commit r14-11300-gcec0326137ef91e2910a9c70eb9743f032e87137 Author: Haochen Jiang <haochen.ji...@intel.com> Date: Mon Feb 10 14:00:57 2025 +0800 i386: Fix AVX512BW intrin header with __OPTIMIZE__ [PR 118813] When moving intrins around for AVX10 implementation in GCC 14, the intrin _kshiftli_mask32 and _kshiftri_mask32 are wrongly wrapped by "#if __OPTIMIZE__" instead of "#ifdef __OPTIMIZE__", leading to the intrin file not `-Wsystem-headers -Wundef` clean since r14-4490. gcc/ChangeLog: PR target/118813 * config/i386/avx512bwintrin.h: Fix wrong __OPTIMIZE__ wrap.