This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug fortran/78798] [cleanup] some int-valued functions should be bool


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78798

--- Comment #1 from janus at gcc dot gnu.org ---
Author: janus
Date: Tue Dec 13 18:55:20 2016
New Revision: 243621

URL: https://gcc.gnu.org/viewcvs?rev=243621&root=gcc&view=rev
Log:
2016-12-13  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/78798
        * gfortran.h (gfc_is_constant_expr, gfc_is_formal_arg,
        gfc_is_compile_time_shape): Return bool instead of int.
        * array.c (gfc_is_compile_time_shape): Ditto.
        * expr.c (gfc_is_constant_expr): Ditto.
        * resolve.c (gfc_is_formal_arg): Ditto. Make formal_arg_flag bool.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/array.c
    trunk/gcc/fortran/expr.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/resolve.c

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