re PR fortran/78798 ([cleanup] some int-valued functions should be bool)
authorJanus Weil <janus@gcc.gnu.org>
Tue, 13 Dec 2016 18:55:20 +0000 (19:55 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Tue, 13 Dec 2016 18:55:20 +0000 (19:55 +0100)
commit7a28353e36d0c2b1dc81883437d2064a50c00e8e
tree9d1e9d025f22b461e270aae2ebd39ebc4c5a4ffb
parentc3c54e0f074083d3bdfe97153a704f5584ec3fa4
re PR fortran/78798 ([cleanup] some int-valued functions should be bool)

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.

From-SVN: r243621
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/fortran/expr.c
gcc/fortran/gfortran.h
gcc/fortran/resolve.c