------- Comment #3 from pinskia at gcc dot gnu dot org  2008-12-31 07:56 -------
t.cc: In function ‘float __vector__ nova::detail::gen_one()’:
t.cc:34160: warning: ‘x’ is used uninitialized in this function

inline __m128 gen_one(void)
{
    __m128i x;
    __m128i ones = _mm_cmpeq_epi32(x, x);
    return (__m128)_mm_slli_epi32 (_mm_srli_epi32(ones, 25), 23);
}

Is undefined code I think.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38671

Reply via email to