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

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alfie Richards
<[email protected]>:

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

commit r16-4285-gd78bd76a49fb900db937d1bbabee7c5cb41ff4ba
Author: Alfie Richards <[email protected]>
Date:   Tue Oct 7 09:34:48 2025 +0000

    c: Fix i386 target attribute regression [PR 122180]

    My patch (r16-4182-g73888cefe6da65) broke another target (i386), which this
    patch fixes.

    The issue was the target_version code was incorrectly being triggered on
    targets that do not support target_version semantics (i386).

            PR target/122180

    gcc/c/ChangeLog:

            * c-decl.cc (pushdecl): Add TARGET_HAS_FMV_TARGET_ATTRIBUTE check.

    gcc/testsuite/ChangeLog:

            * gcc.target/i386/pr122180.c: New test.

Reply via email to