This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH,gfortran] constify a function


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

-- 
Steve

Attachment: resolve.c.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]