http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55425
Marc Glisse <glisse at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glisse at gcc dot gnu.org --- Comment #5 from Marc Glisse <glisse at gcc dot gnu.org> 2012-11-21 20:52:13 UTC --- (In reply to comment #2) > (In reply to comment #1) > > 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. PR 53094 shows that many other vector things don't work with constexpr though.