https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69495
--- Comment #12 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- I have tested that the following patch fixes the failures --- ../_clean/gcc/testsuite/gfortran.dg/elemental_optional_args_6.f90 2012-06-18 21:04:16.000000000 +0200 +++ gcc/testsuite/gfortran.dg/elemental_optional_args_6.f90 2016-01-30 17:12:57.000000000 +0100 @@ -1,4 +1,5 @@ ! { dg-do run } +! { dg-options "-pedantic" } ! ! PR fortran/53692 !