Commit 533f5e0f by Kaveh R. Ghazi Committed by Kaveh Ghazi

sh.md: Avoid uninitialized warnings.

	* sh.md: Avoid uninitialized warnings.
	* vax.c (vax_rtx_cost): Likewise.

From-SVN: r47231
parent d6f99ca4
2001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* sh.md: Avoid uninitialized warnings.
* vax.c (vax_rtx_cost): Likewise.
2001-11-15 Aldy Hernandez <aldyh@redhat.com> 2001-11-15 Aldy Hernandez <aldyh@redhat.com>
* rs6000.c (direct_return): Check if we are saving altivec * rs6000.c (direct_return): Check if we are saving altivec
......
...@@ -2598,6 +2598,8 @@ ...@@ -2598,6 +2598,8 @@
regno = subreg_regno (operands[0]); regno = subreg_regno (operands[0]);
else if (GET_CODE (operands[0]) == MEM) else if (GET_CODE (operands[0]) == MEM)
regno = -1; regno = -1;
else
abort ();
if (regno == -1 if (regno == -1
|| ! refers_to_regno_p (regno, regno + 1, operands[1], 0)) || ! refers_to_regno_p (regno, regno + 1, operands[1], 0))
...@@ -2970,6 +2972,8 @@ ...@@ -2970,6 +2972,8 @@
regno = subreg_regno (operands[0]); regno = subreg_regno (operands[0]);
else if (GET_CODE (operands[0]) == MEM) else if (GET_CODE (operands[0]) == MEM)
regno = -1; regno = -1;
else
abort ();
if (regno == -1 if (regno == -1
|| ! refers_to_regno_p (regno, regno + 1, operands[1], 0)) || ! refers_to_regno_p (regno, regno + 1, operands[1], 0))
......
...@@ -519,7 +519,7 @@ vax_rtx_cost (x) ...@@ -519,7 +519,7 @@ vax_rtx_cost (x)
c = 10; /* 3-4 on VAX 9000, 20-28 on VAX 2 */ c = 10; /* 3-4 on VAX 9000, 20-28 on VAX 2 */
break; break;
default: default:
break; abort ();
} }
break; break;
case UDIV: case UDIV:
......
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