gfortran.h (gfc_str_startswith): New macro.
authorJanus Weil <janus@gcc.gnu.org>
Thu, 20 Sep 2018 19:33:05 +0000 (21:33 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Thu, 20 Sep 2018 19:33:05 +0000 (21:33 +0200)
commit2eb3745a7bcd7f326b44f784d2f0ca6a2fd4080d
tree230e5d690dc909163e13b97662b3920ae08ffa7b
parent5596651acde99a5826a6ebf63afaf1a9fabc36e7
gfortran.h (gfc_str_startswith): New macro.

2018-09-20  Janus Weil  <janus@gcc.gnu.org>

* gfortran.h (gfc_str_startswith): New macro.
* decl.c (variable_decl, gfc_match_end): Use it.
* iresolve.c (is_trig_resolved): Ditto.
* module.c (load_omp_udrs, read_module): Ditto.
* options.c (gfc_handle_runtime_check_option): Ditto.
* primary.c (match_arg_list_function): Ditto.
* trans-decl.c (gfc_get_symbol_decl): Ditto.
* trans-expr.c (gfc_conv_procedure_call): Ditto.
* interface.c (dtio_op): Replace strncmp by strcmp.
* resolve.c (resolve_actual_arglist, resolve_function): Ditto.
* trans-expr.c (conv_arglist_function): Ditto.
* trans-intrinsic.c (gfc_conv_ieee_arithmetic_function): Replace macro
STARTS_WITH by gfc_str_startswith.

From-SVN: r264448
12 files changed:
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/gfortran.h
gcc/fortran/interface.c
gcc/fortran/iresolve.c
gcc/fortran/module.c
gcc/fortran/options.c
gcc/fortran/primary.c
gcc/fortran/resolve.c
gcc/fortran/trans-decl.c
gcc/fortran/trans-expr.c
gcc/fortran/trans-intrinsic.c