public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][match-and-simplify] Fix cut&paste error
@ 2014-06-04 12:17 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2014-06-04 12:17 UTC (permalink / raw)
  To: gcc-patches


Committed.  Hopefully that restores bootstrap ...

Richard.

2014-06-04  Richard Biener  <rguenther@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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-04 12:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-04 12:17 [PATCH][match-and-simplify] Fix cut&paste error Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).