https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104890
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at redhat dot com
Blocks| |104781
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-tgl-2 gcc]$ cat x.c
#include <x86gprintrin.h>
__attribute__((target ("general-regs-only")))
int
foo ()
{
return _get_ssp ();
}
[hjl@gnu-tgl-2 gcc]$ ./xgcc -B./ -S -O2 x.c -mshstk -march=i686 -m32
In file included from ./include/x86gprintrin.h:45,
from x.c:1:
./include/cetintrin.h: In function ‘foo’:
./include/cetintrin.h:47:1: error: inlining failed in call to ‘always_inline’
‘_get_ssp’: target specific option mismatch
47 | _get_ssp (void)
| ^~~~~~~~
x.c:7:10: note: called from here
7 | return _get_ssp ();
| ^~~~~~~~~~~
[hjl@gnu-tgl-2 gcc]$
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104781
[Bug 104781] [12 regression] SEGV in _Unwind_GetGR during i386 Ada bootstrap