https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69495

--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Created attachment 37527 [details]
> patch
>
> The attached patch should take care of all cases mentioned above.
>
> Unfortunately it causes a testsuite failure of elemental_optional_args_6.f90
> and I just cannot understand why :(

Confirmed. The problem is that the test is run with -pedantic-errors. Before
the patch, gfortran emits warnings with this option before the patch, while it
emits errors with the patch.

Reply via email to