re PR tree-optimization/23546 (ICE in for_each_index, at tree-ssa-loop-im.c:202)
authorPaolo Bonzini <bonzini@gnu.org>
Thu, 25 Aug 2005 06:40:14 +0000 (06:40 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Thu, 25 Aug 2005 06:40:14 +0000 (06:40 +0000)
2005-08-24  Paolo Bonzini  <bonzini@gnu.org>

PR tree-optimization/23546
* tree-ssa-loop-im.c (for_each_index): Handle INTEGER_CST
and REAL_CST nodes.

From-SVN: r103471

gcc/ChangeLog
gcc/tree-ssa-loop-im.c

index 1629304636f07940c42e955772b2d70391e67ec4..bed72af0aee7bdfc1d9726e338556b19796a9331 100644 (file)
@@ -1,3 +1,9 @@
+2005-08-24  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR tree-optimization/23546
+       * tree-ssa-loop-im.c (for_each_index): Handle INTEGER_CST
+       and REAL_CST nodes.
+
 2005-08-24  Pete Steinmetz  <steinmtz@us.ibm.com>
 
        * params.def (PARAM_MIN_SPEC_PROB): New.
index ee6aaeef91d9ff1cdcae2f06220b4812ec56362a..23bc6168c58b81fb344bfa2021257c597de2e20e 100644 (file)
@@ -203,6 +203,8 @@ for_each_index (tree *addr_p, bool (*cbck) (tree, tree *, void *), void *data)
        case RESULT_DECL:
        case VECTOR_CST:
        case COMPLEX_CST:
+       case INTEGER_CST:
+       case REAL_CST:
          return true;
 
        case TARGET_MEM_REF: