diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2004-12-17 08:17:01 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2004-12-17 08:17:01 +0000 |
commit | a65735cde57039be59871a455d7f426241a57e95 (patch) | |
tree | 7139067fce2facbe0f4dbcb25c73bd696369e92a /gcc | |
parent | 2312581eff185f931096d1b72d5fc73b7dc8b32c (diff) | |
download | gcc-a65735cde57039be59871a455d7f426241a57e95.zip gcc-a65735cde57039be59871a455d7f426241a57e95.tar.gz gcc-a65735cde57039be59871a455d7f426241a57e95.tar.bz2 |
tree.c (type_contains_placeholder_1): Always return false for VECTOR_TYPE if its TREE_TYPE does not contain a placeholder.
* tree.c (type_contains_placeholder_1): Always return false
for VECTOR_TYPE if its TREE_TYPE does not contain a placeholder.
From-SVN: r92310
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/tree.c | 2 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c0d3570..64724e2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-12-17 Steven Bosscher <stevenb@suse.de> + + * 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 <uros@kss-loka.si> * config/i386/i386.md (extendsfdf2, *extendsfdf2_1, @@ -26,8 +31,8 @@ * global.c: Fix a comment typo. 2004-12-16 Eric Botcazou <ebotcazou@libertysurf.fr> - Roger Sayle <roger@eyesopen.com> - + Roger Sayle <roger@eyesopen.com> + 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 <law@redhat.com> Kazu Hirata <kazu@cs.umass.edu> + 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. @@ -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)); |