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++/51033] generic vector subscript and shuffle support was not added to C++


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.


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