[PATCH,RFC] reload: X constraint doesn't match everything

Ian Lance Taylor ian@airs.com
Wed Jun 7 05:13:00 GMT 2006


Andreas Krebbel <krebbel1@de.ibm.com> writes:

> *** gcc/reload.c.orig   2006-05-31 14:06:05.000000000 +0200
> --- gcc/reload.c        2006-05-31 13:57:37.000000000 +0200
> *************** find_reloads (rtx insn, int replace, int
> *** 3313,3318 ****
> --- 3313,3319 ----
>                 break;
> 
>               case 'X':
> +               force_reload = 0;
>                 win = 1;
>                 break;
> 
> Is that the correct solution?

This looks right to me.

Fortunately the i386 uses a few 'X' constraints so you might even be
able to test it a bit by bootstrapping and running the testsuite on
i386.

Ian



More information about the Gcc-patches mailing list