[patch] Hookize SMALL_REGISTER_CLASSES
Steven Bosscher
stevenb.gcc@gmail.com
Tue May 4 11:58:00 GMT 2010
On Tue, May 4, 2010 at 1:51 PM, Kaz Kojima <kkojima@rr.iij4u.or.jp> wrote:
> Steven Bosscher <stevenb.gcc@gmail.com> wrote:
>> Take 4. The spam filter is apparently convinced that this patch is
>> spam. Trying as .gz now...
>
> I've tried it on sh4-unknown-linux-gnu. With a tiny fix
> below, it can be built and regtested successfully.
Ah, I specifically tested SH one and a half year ago when I first
submitted this patch, but I forgot to double-check before committing
that this still works. Sorry for the breakage.
Ciao!
Steven
> Regards,
> kaz
> --
> --- config/sh/sh.c~ 2010-05-03 11:36:58.000000000 +0900
> +++ config/sh/sh.c 2010-05-04 09:19:39.000000000 +0900
> @@ -11255,7 +11255,7 @@ sh_cannot_change_mode_class (enum machin
> /* Return true if registers in machine mode MODE will likely be
> allocated to registers in small register classes. */
>
> -static bool
> +bool
> sh_small_register_classes_for_mode_p (enum machine_mode mode ATTRIBUTE_UNUSED)
> {
> return (! TARGET_SHMEDIA);
>
More information about the Gcc-patches
mailing list