This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/50537] explicit interface required (r178939)


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.)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]