aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pdp11/pdp11.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/pdp11/pdp11.cc')
-rw-r--r--gcc/config/pdp11/pdp11.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/pdp11/pdp11.cc b/gcc/config/pdp11/pdp11.cc
index 4af26f8..f6dd841 100644
--- a/gcc/config/pdp11/pdp11.cc
+++ b/gcc/config/pdp11/pdp11.cc
@@ -1881,7 +1881,7 @@ pdp11_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED)
in registers. The rest go into memory. */
return (TYPE_MODE (type) == DImode
|| (FLOAT_MODE_P (TYPE_MODE (type)) && ! TARGET_AC0)
- || TREE_CODE (type) == VECTOR_TYPE
+ || VECTOR_TYPE_P (type)
|| COMPLEX_MODE_P (TYPE_MODE (type)));
}