OSDN Git Service

2009-05-28 Benjamin Kosnik <bkoz@redhat.com>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 May 2009 12:28:38 +0000 (12:28 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 May 2009 12:28:38 +0000 (12:28 +0000)
        * tree-ssa-copy.c (replace_exp_1): Move op for warning-free use
        with checking disabled.

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

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

index cbbeee4..cd370d4 100644 (file)
@@ -1,3 +1,8 @@
+2009-05-28  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * tree-ssa-copy.c (replace_exp_1): Move op for warning-free use
+       with checking disabled.
+
 2009-05-28  Dave Korn  <dave.korn.cygwin@gmail.com>
 
        PR target/37216
index bbfc977..d919681 100644 (file)
@@ -160,9 +160,8 @@ static void
 replace_exp_1 (use_operand_p op_p, tree val,
               bool for_propagation ATTRIBUTE_UNUSED)
 {
-  tree op = USE_FROM_PTR (op_p);
-
 #if defined ENABLE_CHECKING
+  tree op = USE_FROM_PTR (op_p);
   gcc_assert (!(for_propagation
                && TREE_CODE (op) == SSA_NAME
                && TREE_CODE (val) == SSA_NAME