OSDN Git Service

2005-08-24 Paolo Bonzini <bonzini@gnu.org>
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Aug 2005 06:40:14 +0000 (06:40 +0000)
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Aug 2005 06:40:14 +0000 (06:40 +0000)
PR tree-optimization/23546
* tree-ssa-loop-im.c (for_each_index): Handle INTEGER_CST
and REAL_CST nodes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103471 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 1629304..bed72af 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 ee6aaee..23bc616 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: