[Bug middle-end/20491] [4.0/4.1 Regression] internal compiler error: in subreg_regno_offset, at rtlanal.c:3042

rth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 31 22:09:00 GMT 2005


------- Additional Comments From rth at gcc dot gnu dot org  2005-03-31 22:09 -------
Subject: Re: [PR middle-end/20491] combine generates bad subregs

On Wed, Mar 30, 2005 at 04:27:50PM -0300, Alexandre Oliva wrote:
> -      else
> +      else if (REG_P (y))
>  	{
>  	  /* Simplify_subreg can't handle some REG cases, but we have to.  */
>  	  unsigned int regno = subreg_regno (x);

The next line is 

          gcc_assert (REG_P (y));

you should remove that.  Ok with that change.


r~


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20491



More information about the Gcc-bugs mailing list