This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32669] [4.3 Regression] "Actual argument contains too few elements for dummy argument" is triggered for valid code
- 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: 8 Jul 2007 20:57:22 -0000
- Subject: [Bug fortran/32669] [4.3 Regression] "Actual argument contains too few elements for dummy argument" is triggered for valid code
- References: <bug-32669-14773@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from burnus at gcc dot gnu dot org 2007-07-08 20:57 -------
FIXED. Note: This is PR was not rejects-valid but only diagnostic as a (bogus)
warning was printed and not an error.
The problem occurred for array sections where the lower bound was not specified
(a(:), a(:4) etc.); in this case the lower bound was always "1".
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Keywords|rejects-valid |diagnostic
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32669