Commit 4e502930 by Michael Meissner Committed by Michael Meissner

rs6000.c (print_operand, 'y' case): Fix code that generated a warning and…

rs6000.c (print_operand, 'y' case): Fix code that generated a warning and prevented bootstrapping the compiler.

2014-08-21  Michael Meissner  <meissner@linux.vnet.ibm.com>

	* config/rs6000/rs6000.c (print_operand, 'y' case): Fix code that
	generated a warning and prevented bootstrapping the compiler.

From-SVN: r214280
parent 00550b3d
2014-08-21 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/rs6000.c (print_operand, 'y' case): Fix code that
generated a warning and prevented bootstrapping the compiler.
2014-08-21 David Malcolm <dmalcolm@redhat.com> 2014-08-21 David Malcolm <dmalcolm@redhat.com>
* rtl.h (delete_related_insns): Strengthen return type from rtx to * rtl.h (delete_related_insns): Strengthen return type from rtx to
......
...@@ -18601,7 +18601,7 @@ print_operand (FILE *file, rtx x, int code) ...@@ -18601,7 +18601,7 @@ print_operand (FILE *file, rtx x, int code)
fprintf (file, "0,%s", reg_names[REGNO (tmp)]); fprintf (file, "0,%s", reg_names[REGNO (tmp)]);
else else
{ {
if (!GET_CODE (tmp) == PLUS if (GET_CODE (tmp) != PLUS
|| !REG_P (XEXP (tmp, 0)) || !REG_P (XEXP (tmp, 0))
|| !REG_P (XEXP (tmp, 1))) || !REG_P (XEXP (tmp, 1)))
{ {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment