This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32317] [bounds checking] No warning on bad arguments with explicit interface
- From: "terry at chem dot gu dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Feb 2009 00:43:04 -0000
- Subject: [Bug fortran/32317] [bounds checking] No warning on bad arguments with explicit interface
- References: <bug-32317-14178@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from terry at chem dot gu dot se 2009-02-16 00:43 -------
Can someone with a better understanding of the standard than me comment as to
whether this is actually legal Fortran when there is an explicit interface
known? It certainly fails any principle of least surprise.
Incidentally, I think the code given in PR 39195 is slightly clearer.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32317