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

--- Comment #10 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:31cbac836bb4f4c2172a91ee6164d8fdd32a8cb8

commit r14-11314-g31cbac836bb4f4c2172a91ee6164d8fdd32a8cb8
Author: Haochen Jiang <haochen.ji...@intel.com>
Date:   Mon Feb 10 16:53:27 2025 +0800

    i386: Do not check vector size conflict when AVX512 is not explicitly set
[PR 118815]

    When AVX512 is not explicitly set, we should not take EVEX512 bit into
    consideration when checking vector size. It will solve the intrin header
    file reporting warnings when compiling with -Wsystem-headers.

    However, there is side effect on the usage for '-march=xxx -mavx10.1-256',
    where xxx is with AVX512. It will not report warning on vector size for
now.
    Since it is a rare usage, we will take it.

    gcc/ChangeLog:

            PR target/118815
            * config/i386/i386-options.cc (ix86_option_override_internal):
            Do not check vector size conflict when AVX512 is not explicitly
            set.

Reply via email to