]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree.c (type_contains_placeholder_1): Always return false for VECTOR_TYPE if its...
authorSteven Bosscher <steven@gcc.gnu.org>
Fri, 17 Dec 2004 08:17:01 +0000 (08:17 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Fri, 17 Dec 2004 08:17:01 +0000 (08:17 +0000)
* tree.c (type_contains_placeholder_1): Always return false
for VECTOR_TYPE if its TREE_TYPE does not contain a placeholder.

From-SVN: r92310

gcc/ChangeLog
gcc/tree.c

index c0d357030b9534277a6afe836583cfb8ee7877a6..64724e28f3ca59d0077d9070cb9d3be83ef6b290 100644 (file)
@@ -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.
 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.
index c2fb1b448505b2661b0808c16e10806673abc5f4..572b8804d56da374e8fb3ee407b585f8604d27f6 100644 (file)
@@ -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));