aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/expr.c
diff options
context:
space:
mode:
authorMark Eggleston <markeggleston@gcc.gnu.org>2020-06-01 14:56:00 +0100
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:15:43 -0300
commitcbb4aeabd8e5ea9c2b8b7a2ed02c613241c05c8e (patch)
tree1e1c52d9a42c02077f74f8b8c7cd66015848860c /gcc/fortran/expr.c
parent0d64a4dd49c74b12e5974855271a4e2c5b72325f (diff)
downloadgcc-cbb4aeabd8e5ea9c2b8b7a2ed02c613241c05c8e.zip
gcc-cbb4aeabd8e5ea9c2b8b7a2ed02c613241c05c8e.tar.gz
gcc-cbb4aeabd8e5ea9c2b8b7a2ed02c613241c05c8e.tar.bz2
Fortran : False positive for optional arguments PR95446
Check that there is non-optional argument of the same rank in the list of actual arguments. If there is the warning is not required. 2020-07-01 Steven G. Kargl <kargl@gcc.gnu.org> gcc/fortran/ PR fortran/95446 * resolve.c (resolve_elemental_actual): Add code to check for non-optional argument of the same rank. Revise warning message to refer to the Fortran 2018 standard. 2020-07-01 Mark Eggleston <markeggleston@gcc.gnu.org> gcc/testsuite/ PR fortran/95446 * gfortran.dg/elemental_optional_args_6.f90: Remove check for warnings that were erroneously output. * gfortran.dg/pr95446.f90: New test.
Diffstat (limited to 'gcc/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions