summaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-17 08:17:01 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-17 08:17:01 +0000
commit17febea81bdfad08cfa6edc5b2fea4ece90b4e05 (patch)
tree7139067fce2facbe0f4dbcb25c73bd696369e92a /gcc/tree.c
parent2af880fa949dd9885f29b24f137b9584da0c6088 (diff)
downloadgcc-17febea81bdfad08cfa6edc5b2fea4ece90b4e05.tar.gz
* tree.c (type_contains_placeholder_1): Always return false
for VECTOR_TYPE if its TREE_TYPE does not contain a placeholder. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92310 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index c2fb1b44850..572b8804d56 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -1879,6 +1879,7 @@ type_contains_placeholder_1 (tree type)
case METHOD_TYPE:
case FILE_TYPE:
case FUNCTION_TYPE:
+ case VECTOR_TYPE:
return false;
case INTEGER_TYPE:
@@ -1888,7 +1889,6 @@ type_contains_placeholder_1 (tree type)
|| CONTAINS_PLACEHOLDER_P (TYPE_MAX_VALUE (type)));
case ARRAY_TYPE:
- case VECTOR_TYPE:
/* We're already checked the component type (TREE_TYPE), so just check
the index type. */
return type_contains_placeholder_p (TYPE_DOMAIN (type));