]> git.ipfire.org Git - thirdparty/gcc.git/commit
x86: Pass -mno-80387 to compile pr121208-1(a|b).c
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 29 Jul 2025 16:11:34 +0000 (09:11 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 29 Jul 2025 16:18:15 +0000 (09:18 -0700)
commitc6d1f58da7eb72e8bac307d342e4655012b36a89
treecb24b7e6ee9bf4c8227abaebc416bb41cf0d6929
parent9e91a99b2bb7d7f2724c638b38fff8b96c54ccd4
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

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

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
gcc/testsuite/gcc.target/i386/pr121208-1a.c
gcc/testsuite/gcc.target/i386/pr121208-1b.c