OSDN Git Service

PR 17756
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Oct 2004 22:42:34 +0000 (22:42 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Oct 2004 22:42:34 +0000 (22:42 +0000)
        * tree-ssa-operands.c (get_expr_operands): Handle CONST_DECL.

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

gcc/ChangeLog
gcc/tree-ssa-operands.c

index 327be6c..1d7d8dc 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-05  Richard Henderson  <rth@redhat.com>
+
+       PR 17756
+       * tree-ssa-operands.c (get_expr_operands): Handle CONST_DECL.
+
 2004-10-05  Kelley Cook  <kcook@gcc.gnu.org>
 
        PR bootstrap/17817
index 2506761..ac5f607 100644 (file)
@@ -1004,6 +1004,7 @@ get_expr_operands (tree stmt, tree *expr_p, int flags)
     case VAR_DECL:
     case PARM_DECL:
     case RESULT_DECL:
+    case CONST_DECL:
       /* If we found a variable, add it to DEFS or USES depending
         on the operand flags.  */
       add_stmt_operand (expr_p, stmt, flags);