aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cvt.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2015-06-27 10:40:21 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2015-06-27 10:40:21 +0000
commitb55b02ead474ab1f68fa066a65a3896664d83412 (patch)
treee2fdea317833c9400e7b7b897d2c41b2b4785409 /gcc/cp/cvt.c
parent56a6f1d33f7259fde0efc9c37a1308c306590e8b (diff)
downloadgcc-b55b02ead474ab1f68fa066a65a3896664d83412.zip
gcc-b55b02ead474ab1f68fa066a65a3896664d83412.tar.gz
gcc-b55b02ead474ab1f68fa066a65a3896664d83412.tar.bz2
call.c: Use VECTOR_TYPE_P.
* call.c: Use VECTOR_TYPE_P. * constexpr.c: Likewise. * cvt.c: Likewise. * decl.c: Likewise. * decl2.c: Likewise. * init.c: Likewise. * semantics.c: Likewise. * tree.c: Likewise. * typeck.c: Likewise. * typeck2.c: Likewise. From-SVN: r225099
Diffstat (limited to 'gcc/cp/cvt.c')
-rw-r--r--gcc/cp/cvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/cvt.c b/gcc/cp/cvt.c
index d29c64b..a277678 100644
--- a/gcc/cp/cvt.c
+++ b/gcc/cp/cvt.c
@@ -708,7 +708,7 @@ ocp_convert (tree type, tree expr, int convtype, int flags,
conversion. */
else if (TREE_CODE (type) == COMPLEX_TYPE)
return fold_if_not_in_template (convert_to_complex (type, e));
- else if (TREE_CODE (type) == VECTOR_TYPE)
+ else if (VECTOR_TYPE_P (type))
return fold_if_not_in_template (convert_to_vector (type, e));
else if (TREE_CODE (e) == TARGET_EXPR)
{