trans-array.c (gfc_walk_elemental_function_args): Don't skip the advance to the next...
authorMikael Morin <mikael@gcc.gnu.org>
Fri, 8 May 2015 14:53:20 +0000 (14:53 +0000)
committerMikael Morin <mikael@gcc.gnu.org>
Fri, 8 May 2015 14:53:20 +0000 (14:53 +0000)
commit4a8108f0ab7310371123340e0181ff4afd84789e
tree976e7c0d87b64f4aa4ad9632925fa33a6061a93b
parent2a812183d676b5b19fa9a4ad0520681e11c9d016
trans-array.c (gfc_walk_elemental_function_args): Don't skip the advance to the next dummy argument when...

gcc/fortran/
* trans-array.c (gfc_walk_elemental_function_args):
Don't skip the advance to the next dummy argument when skipping
absent optional args.
gcc/testsuite/
* gfortran.dg/elemental_optional_args_7.f90: New.

From-SVN: r222913
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/elemental_optional_args_7.f90 [new file with mode: 0644]