[Patch, Fortran] PR33297 - add scalar tests for kind and SIZE's dim

François-Xavier Coudert fxcoudert@gmail.com
Wed Sep 12 10:28:00 GMT 2007


> 2007-09-05  Tobias Burnus  <burnus@net-b.de>
>
>         PR fortran/33297
>         * check.c (scalar_check): Move up in the file.
>         (kind_check): Call scalar_check.
>         (dim_check): If optional, do not call nonoptional_check; use
>         bool for optional.
>         (gfc_check_all_any,gfc_check_count,gfc_check_cshift,gfc_check_eoshift,
>         gfc_check_lbound,gfc_check_minloc_maxloc,check_reduction,
>         gfc_check_spread,gfc_check_ubound): Use true/false instead of 0/1
>         for dim_check; honor changed meaning of optional.
>         (gfc_check_int): Replace checks by kind_check.
>         (gfc_check_size): Replace checks by dim_check.

OK



More information about the Gcc-patches mailing list