This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Don't change the types for switch statements
On Thu, 2005-03-10 at 18:45 -0500, James A. Morrison wrote:
> Jeffrey A Law <law@redhat.com> writes:
>
> > OK. I was just hunting for code which set the type of the nodes, you
> > saved me the trouble of finding it :-) So we know that INDEX_TYPE will
> > have the same type as each of the nodes. Excellent.
> >
> > > It would probably be good to use minval = fold_convert (index_type, i_z_n) at
> > > line 2427 as I did in the patch at line 2512, but that'll have to wait for
> > > another round of testing.
> > Agreed. I've got time today, so I'll give that a spin.
> >
> > Jeff
> >
>
> Any word on testing this? The patch I posted (only one fold_convert)
> bootstapped and regtested on sparc-linux with no regressions with all
> languages but ada.
It finished while I was on my bike ride. I'll check it in after I get
cleaned up and dinner.
jeff