This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25071] dummy argument larger than actual argument
- 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: 24 Jul 2007 09:42:47 -0000
- Subject: [Bug fortran/25071] dummy argument larger than actual argument
- References: <bug-25071-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from burnus at gcc dot gnu dot org 2007-07-24 09:42 -------
I believe this is fixed by PR30940.
The first example gives:
Warnung: Actual argument contains too few elements for dummy argument 'i' (4/6)
at (1)
The second example:
Warnung: Character length of actual argument shorter than of dummy argument 'y'
(10/20) at (1)
It currently gives only warnings since I failed to get any comments when an
error and when only a warning should be given.
Missing is the check for array element designators: PR32616.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25071