[Bug fortran/24886] different character length in actual and formal argument not detected
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 29 22:09:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list