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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Richard Biener
<rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:a27f6a420c61f35d44bf33561b8312e1dbd012c8

commit r14-11672-ga27f6a420c61f35d44bf33561b8312e1dbd012c8
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Mar 31 14:56:25 2025 +0200

    target/119549 - fixup handling of -mno-sse4 in target attribute

    The following fixes ix86_valid_target_attribute_inner_p to properly
    handle target("no-sse4") via OPT_mno_sse4 rather than as unset OPT_msse4.
    I've added asserts to ix86_handle_option that RejectNegative is honored
    for both.

            PR target/119549
            * common/config/i386/i386-common.cc (ix86_handle_option):
            Assert that both OPT_msse4 and OPT_mno_sse4 are never unset.
            * config/i386/i386-options.cc
(ix86_valid_target_attribute_inner_p):
            Process negated OPT_msse4 as OPT_mno_sse4.

            * gcc.target/i386/pr119549.c: New testcase.

    (cherry picked from commit ae2912748b9913fe9cd198db1b3fa704d0cbc728)
  • [Bug target/119549] [14 Regress... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to