From 17febea81bdfad08cfa6edc5b2fea4ece90b4e05 Mon Sep 17 00:00:00 2001 From: steven Date: Fri, 17 Dec 2004 08:17:01 +0000 Subject: [PATCH] * 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 --- gcc/ChangeLog | 10 ++++++++-- gcc/tree.c | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c0d357030b9..64724e28f3c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-12-17 Steven Bosscher + + * tree.c (type_contains_placeholder_1): Always return false + for VECTOR_TYPE if its TREE_TYPE does not contain a placeholder. + 2004-12-17 Uros Bizjak * config/i386/i386.md (extendsfdf2, *extendsfdf2_1, @@ -26,8 +31,8 @@ * global.c: Fix a comment typo. 2004-12-16 Eric Botcazou - Roger Sayle - + Roger Sayle + PR tree-optimization/18707 * cfgloopmanip.c (create_preheader): Move the preheader only if the latch was falling through to the header. @@ -407,6 +412,7 @@ 2004-12-13 Jeff Law Kazu Hirata + PR tree-optimization/18694 * tree-ssa-dom.c (thread_across_edge): Do not thread jumps if a PHI argument is set from a PHI_RESULT in the same block and the PHI argument is not the same as the PHI result. 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)); -- 2.11.4.GIT