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, Fortran, cleanup] PR 78798: some int-valued functions should be bool


On Thu, Dec 15, 2016 at 08:38:47PM +0100, Janus Weil wrote:
> 2016-12-13 19:55 GMT+01:00 Janus Weil <janus@gcc.gnu.org>:
> > 2016-12-13 19:19 GMT+01:00 Janne Blomqvist <blomqvist.janne@gmail.com>:
> >> On Tue, Dec 13, 2016 at 8:13 PM, Janus Weil <janus@gcc.gnu.org> wrote:
> >>> Hi all,
> >>>
> >>> here is a straightforward cleanup patch that makes a few functions
> >>> return a bool instead of an int. Regtests cleanly on x86_64-linux-gnu.
> >>> Ok for trunk?
> >>
> >> Ok, thanks.
> >
> > Thanks, Janne. Committed as r243621.
> 
> 
> I realized that also lots of functions in interface.c could/should be
> converted from int to bool. Attached is a patch which does that.
> 
> It's not small, but mostly mechanical, and regtests cleanly on
> x86_64-linux-gnu. Ok for trunk?
> 

A quick scan of the patch did not reveal anything
that jumped out as wrong.  OK to commit.

-- 
steve


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