Merge identical cases.
authorMarek Polacek <polacek@redhat.com>
Thu, 20 Sep 2012 17:05:41 +0000 (17:05 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 20 Sep 2012 17:05:41 +0000 (17:05 +0000)
From-SVN: r191581

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

index f2d74a8..e6fd4da 100644 (file)
@@ -1,5 +1,9 @@
 2012-09-20  Marek Polacek  <polacek@redhat.com>
 
+       * tree-ssa-operands.c (get_expr_operands): Merge identical cases.
+
+2012-09-20  Marek Polacek  <polacek@redhat.com>
+
        * tree-ssa-threadupdate.c (mark_threaded_blocks): Don't cast XNEWVEC's
        result.
        (create_edge_and_update_destination_phis): Likewise.
index d9b3146..421b35e 100644 (file)
@@ -1,5 +1,6 @@
 /* SSA operands management for trees.
    Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+   2011, 2012
    Free Software Foundation, Inc.
 
 This file is part of GCC.
@@ -841,9 +842,6 @@ get_expr_operands (gimple stmt, tree *expr_p, int flags)
       return;
 
     case SSA_NAME:
-     add_stmt_operand (expr_p, stmt, flags);
-     return;
-
     case VAR_DECL:
     case PARM_DECL:
     case RESULT_DECL: