typeck.c (cp_build_unary_op): Accept float vectors.
authorMarc Glisse <marc.glisse@inria.fr>
Tue, 14 Oct 2014 13:40:36 +0000 (15:40 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Tue, 14 Oct 2014 13:40:36 +0000 (13:40 +0000)
commit48d3af1259c6365615027708f259f04c8ac292fc
tree5c247f11741c65f44c7f668a057567290f31f048
parentebe87abf2bdad817320b230638365ebcfd2bda1d
typeck.c (cp_build_unary_op): Accept float vectors.

2014-10-14  Marc Glisse  <marc.glisse@inria.fr>

gcc/cp/
* typeck.c (cp_build_unary_op) [TRUTH_NOT_EXPR]: Accept float vectors.
gcc/testsuite/
* g++.dg/ext/vector9.C: Test ! with float vectors.

From-SVN: r216201
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/vector9.C