[Bug fortran/50537] explicit interface required (r178939)
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 27 14:01:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50537
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
CC| |burnus at gcc dot gnu.org
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-02-27 14:00:57 UTC ---
For reference, Fortran 2008, "12.4.2.2 Explicit interface":
"A procedure other than a statement function shall have an explicit interface
if it is referenced and [...]
"(3) the procedure has a result that [...]
"(c) has a nonassumed type parameter value that is not a constant expression,"
(Side note: As it is not a constraint, a compiler is not required to diagnose
it. However, as it can detect it in this case, it should.)
More information about the Gcc-bugs
mailing list