This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/55425] constexpr does not work in many situations (both built-in and user supplied literals)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]