This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24886] different character length in actual and formal argument not detected
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jun 2007 22:09:02 -0000
- Subject: [Bug fortran/24886] different character length in actual and formal argument not detected
- References: <bug-24886-8649@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from burnus at gcc dot gnu dot org 2007-06-29 22:09 -------
[Compile-time checking]
I think this was fixed a while ago - at least for contained procedures. If not
it is then definitely fixed (for contained procedures) by my patch for PR30940:
"Character length of actual argument shorter than of dummy argument 'y' (10/20)
at (1)"
To get it working with the original example, we need whole-file checking which
is planned but not implemented.
Run-time checking would be nice too.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24886