Committed.  Hopefully that restores bootstrap ...

Richard.

2014-06-04  Richard Biener  <rguent...@suse.de>

        * gimple-match-head.c (gimple_match_and_simplify): Fix cut&paste
        error.

Index: gcc/gimple-match-head.c
===================================================================
--- gcc/gimple-match-head.c     (revision 211226)
+++ gcc/gimple-match-head.c     (working copy)
@@ -604,7 +604,7 @@ gimple_match_and_simplify (gimple stmt,
                if (!arg1)
                  return false;
              }
-           tree arg2 = gimple_call_arg (stmt, 0);
+           tree arg2 = gimple_call_arg (stmt, 1);
            if (valueize && TREE_CODE (arg2) == SSA_NAME)
              {
                arg2 = valueize (arg2);

Reply via email to