diff options
author | Marek Polacek <polacek@redhat.com> | 2015-06-27 10:40:21 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2015-06-27 10:40:21 +0000 |
commit | b55b02ead474ab1f68fa066a65a3896664d83412 (patch) | |
tree | e2fdea317833c9400e7b7b897d2c41b2b4785409 /gcc/cp/cvt.c | |
parent | 56a6f1d33f7259fde0efc9c37a1308c306590e8b (diff) | |
download | gcc-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.c | 2 |
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) { |