https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104890
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Jakub Jelinek from comment #7) > Comment on attachment 52619 [details] > A patch > > This looks wrong, it will fail with the same configuration if people build > with -msse2. I have no issues to build 32-bit GCC with SSE2. I got [hjl@gnu-tgl-2 gcc]$ ./xgcc -B./ -S -O2 -mshstk -march=i686 -m32 /tmp/x.c In file included from ./include/x86gprintrin.h:45, from /tmp/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) | ^~~~~~~~ /tmp/x.c:7:10: note: called from here 7 | return _get_ssp (); | ^~~~~~~~~~~ [hjl@gnu-tgl-2 gcc]$ ./xgcc -B./ -S -O2 -mshstk -march=i686 -m32 /tmp/x.c -msse2 [hjl@gnu-tgl-2 gcc]$