Reload patch for 3.1

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Tue Apr 30 07:43:00 GMT 2002


A few weeks ago, something changed that caused an ICE when compiling the
Ada RTS for Sparc due to a SUBREG with a 'p' constraint.  This is the fix.
It bootstrapped OK on Sparc and I think it's safe enough for 3.1 and fixes
a "semi-regression" since this used to work last month.

Is it OK for the branch?

Tue Apr 30 10:32:37 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* reload.c (find_reloads, case 'p'): Set BADOP to 0.

*** reload.c	10 Mar 2002 23:52:00 -0000	1.178.2.1
--- reload.c	30 Apr 2002 12:40:21 -0000
*************** find_reloads (insn, replace, ind_levels,
*** 3034,3037 ****
--- 3034,3038 ----
  		this_alternative[i] = (int) MODE_BASE_REG_CLASS (VOIDmode);
  		win = 1;
+ 		badop = 0;
  		break;
  



More information about the Gcc-patches mailing list