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



--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-11-21 
12:19:06 UTC ---

(In reply to comment #1)

> > Situation 3: __m128i type

> > --------------------------

> > 

> > Assigning a literal value to a constexpr __m128 fails because the literal is

> > not a literal.

> 

> No, the error says __m128 is not a literal type, which I assume is true.

> Changing that would be an enhancement request.



With G++ 4.8 __m128i is a literal type, so this example works.

Reply via email to