This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,gfortran] constify a function
On Thu, Dec 30, 2004 at 11:55:55AM -0800, Steve Kargl wrote:
> On Wed, Dec 29, 2004 at 07:30:44PM -0800, Steve Kargl wrote:
> > The attached patch constifies the arguments to compare_case,
> > and then removes the unneeded pointer assignment and local
> > variables.
> >
> > bubblestrapped and regression tested on i386-*-freebsd6.0
> >
> > 2004-12-29 Steven G. Kargl <kargls@comcast.net>
> > * resolve.c (compare_case): Constify
>
> After reading and understanding what compare_case() does,
> I decide to clean up because several of the if statements
> could be collpased.
>
> 2004-12-30 Steven G. Kargl <kargls@comcast.net>
> * resolve.c (compare_case): Constify and cleanup
>
bubblestrap and regression tested on i386-*-freebsd6.0
Also tested with the 5 programs located here:
http://gcc.gnu.org/ml/fortran/2004-12/msg00260.html`
--
Steve