On Thu, Apr 25, 2013 at 12:31 PM, Graham Stott <graham.st...@btinternet.com> wrote: > All, > > The struture init_expmed_rtl defined in expmed.c has many fields which are > totally unused > this patch removes them. > > Bootstraped x86_64 all langauges > Ok.
Thanks, Richard. > Graham > > gcc/ChangeLog > * expmed.c: (init_expmed_rtl) Remove unused fields reg_fld, plus_fld, > mult_fld, sdiv_fld1, udiv_fld1, > sdiv_32_fld1, smod_32_fld1, wide_mult_fld1, wide_lshr_fld1, shift_fld1, > shift_mult_fld1 shift_add_fld1, > shift_sub0_fld1, shift_sub1_fld1. > > Index: gcc/expmed.c > =================================================================== > --- gcc/expmed.c (revision 198200) > +++ gcc/expmed.c (working copy) > @@ -69,22 +69,22 @@ > > struct init_expmed_rtl > { > - struct rtx_def reg; rtunion reg_fld[2]; > - struct rtx_def plus; rtunion plus_fld1; > + struct rtx_def reg; > + struct rtx_def plus; > struct rtx_def neg; > - struct rtx_def mult; rtunion mult_fld1; > - struct rtx_def sdiv; rtunion sdiv_fld1; > - struct rtx_def udiv; rtunion udiv_fld1; > - struct rtx_def sdiv_32; rtunion sdiv_32_fld1; > - struct rtx_def smod_32; rtunion smod_32_fld1; > - struct rtx_def wide_mult; rtunion wide_mult_fld1; > - struct rtx_def wide_lshr; rtunion wide_lshr_fld1; > + struct rtx_def mult; > + struct rtx_def sdiv; > + struct rtx_def udiv; > + struct rtx_def sdiv_32; > + struct rtx_def smod_32; > + struct rtx_def wide_mult; > + struct rtx_def wide_lshr; > struct rtx_def wide_trunc; > - struct rtx_def shift; rtunion shift_fld1; > - struct rtx_def shift_mult; rtunion shift_mult_fld1; > - struct rtx_def shift_add; rtunion shift_add_fld1; > - struct rtx_def shift_sub0; rtunion shift_sub0_fld1; > - struct rtx_def shift_sub1; rtunion shift_sub1_fld1; > + struct rtx_def shift; > + struct rtx_def shift_mult; > + struct rtx_def shift_add; > + struct rtx_def shift_sub0; > + struct rtx_def shift_sub1; > struct rtx_def zext; > struct rtx_def trunc; >