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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|hjl at gcc dot gnu.org             |hjl.tools at gmail dot 
com,
                   |                            |skpgkp2 at gmail dot com
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-03-25
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Marc Poulhiès from comment #0)
> Using a compiler without sse/sse2 enabled by default, the test emits the
> following warning:
> 
> gcc/testsuite/gcc.target/i386/pr95483-1.c: In function 'foo':
> ...../11.2.1/include/emmintrin.h:762:1: error: inlining failed in call to
> 'always_inline' '_mm_storeu_si16': target specific option mismatch
> .../gcc/testsuite/gcc.target/i386/pr95483-1.c:15:4: note: called from here
> .../11.2.1/include/emmintrin.h:725:1: error: inlining failed in call to
> 'always_inline' '_mm_loadu_si16': target specific option mismatch
> ...gcc/testsuite/gcc.target/i386/pr95483-1.c:14:7: note: called from here
> 
> The reason is that the test is built using -msse only, but the emmintrin.h
> has:

It is wrong not to pass -msse2 with emmintrin.h.

Reply via email to