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

--- Comment #15 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

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

commit r15-10227-ge5905a527f523c76b8d7cc2ebe88717fa0ff7d40
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Tue Jul 29 09:11:34 2025 -0700

    x86: Pass -mno-80387 to compile pr121208-1(a|b).c

    Pass -mno-80387 to compile pr121208-1(a|b).c to silence

    .../pr121208-1a.c:11:1: sorry, unimplemented: 80387 instructions arenât
allowed in a function with the âno_caller_saved_registersâ attribute

    Partially backport the PR target/121540 fix

    9d7f45e9806 x86: Disallow MMX and 80387 in no_caller_saved_registers
function

    to also add -mno-sse -mno-mmx.

            PR target/121208
            * gcc.target/i386/pr121208-1a.c (dg-options): Add
            -mno-sse -mno-mmx -mno-80387.
            * gcc.target/i386/pr121208-1b.c (dg-options): Likewise.

    Signed-off-by: H.J. Lu <hjl.to...@gmail.com>
    (cherry picked from commit c6d1f58da7eb72e8bac307d342e4655012b36a89)

Reply via email to