[Bug fortran/80467] Function Without Arguments Fails to Generate Error When Declared Later
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Tue May 2 13:08:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80467
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I agree that the code is invalid, and it is the user's responsibility.
> However, I don't think an internal compiler error is appropriate in this case.
AFAICT you get the internal error only with compilers configured with
--enable-checking=yes.
> An actual error would be preferable.
Agreed, but as an enhancement with a low priority.
More information about the Gcc-bugs
mailing list