On Tue, Apr 22, 2014 at 07:55:00AM -0700, Richard Henderson wrote:
> On 04/22/2014 12:26 AM, Jakub Jelinek wrote:
> > I've committed following fix as obvious after testing it with a
> > x86_64->sparc64-linux cross-compiler.
> >
> > 2014-04-22 Jakub Jelinek <[email protected]>
> >
> > PR target/60910
> > * config/sparc/sparc.c (sparc_init_modes): Pass enum machine_mode
> > value instead of int to GET_MODE_CLASS and GET_MODE_SIZE macros.
>
> Here's an additional change that I'd had in my tree.
> Sorry about not getting it committed last night.
Thanks and sorry for rushing up the fix.
> * config/sparc/sparc.c (sparc_init_modes): Hoist GET_MODE_SIZE
> computation to the top of the loop.
Jakub