This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51033] generic vector subscript and shuffle support was not added to C++
- From: "linux at carewolf dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 17 Feb 2013 14:41:52 +0000
- Subject: [Bug c++/51033] generic vector subscript and shuffle support was not added to C++
- Auto-submitted: auto-generated
- References: <bug-51033-4@http.gcc.gnu.org/bugzilla/>
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.