https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99652
Bug ID: 99652 Summary: inline doesn't with -mno-sse Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: ubizjak at gmail dot com Target Milestone: --- [hjl@gnu-cfl-2 tmp]$ cat x.c inline double foo (void) { return 1.0; } [hjl@gnu-cfl-2 tmp]$ gcc -S x.c [hjl@gnu-cfl-2 tmp]$ cat x.s .file "x.c" .text .ident "GCC: (GNU) 10.2.1 20210130 (Red Hat 10.2.1-11)" .section .note.GNU-stack,"",@progbits [hjl@gnu-cfl-2 tmp]$ gcc -S x.c -mno-sse x.c: In function ‘foo’: x.c:3:1: error: SSE register return with SSE disabled 3 | { | ^ [hjl@gnu-cfl-2 tmp]$