[Bug c++/51033] generic vector subscript and shuffle support was not added to C++

linux at carewolf dot com gcc-bugzilla@gcc.gnu.org
Sun Feb 17 14:42:00 GMT 2013


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

Allan Jensen <linux at carewolf dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |linux at carewolf dot com

--- Comment #30 from Allan Jensen <linux at carewolf dot com> 2013-02-17 14:41:52 UTC ---
(In reply to comment #3)
> All vector support should also be in the C++ front-end.  Can you give an
> example of something which does not work?  Templates with vectors work already
> too.

Another example is binary operators between scalar and vectors. In C the scalar
is automatically treated as a vector, but in C++ it results in a type error.



More information about the Gcc-bugs mailing list