View | Details | Return to bug 11535
Collapse All | Expand All

(-)gcc/config/ia64/ia64.c.rp (-1 / +12 lines)
Lines 3982-3988 ia64_print_operand (file, x, code) Link Here
3982
      /* If this operand is the constant zero, write it as register zero.
3982
      /* If this operand is the constant zero, write it as register zero.
3983
	 Any register, zero, or CONST_INT value is OK here.  */
3983
	 Any register, zero, or CONST_INT value is OK here.  */
3984
      if (GET_CODE (x) == REG)
3984
      if (GET_CODE (x) == REG)
3985
	fputs (reg_names[REGNO (x)], file);
3985
	{
3986
	  if (REGNO (x) == RETURN_ADDRESS_POINTER_REGNUM)
3987
	    {
3988
	      int regno = XINT (return_address_pointer_rtx, 0);
3989
	      if (regno == RETURN_ADDRESS_POINTER_REGNUM)
3990
		abort ();
3991
	      else
3992
		fputs (reg_names[regno], file);
3993
	    }
3994
	  else
3995
	    fputs (reg_names[REGNO (x)], file);
3996
	}
3986
      else if (x == CONST0_RTX (GET_MODE (x)))
3997
      else if (x == CONST0_RTX (GET_MODE (x)))
3987
	fputs ("r0", file);
3998
	fputs ("r0", file);
3988
      else if (GET_CODE (x) == CONST_INT)
3999
      else if (GET_CODE (x) == CONST_INT)

Return to bug 11535