This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31346] wrong values for ubound and size of deferred shape arrays
- From: "mikael dot morin at tele2 dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2007 04:58:46 -0000
- Subject: [Bug fortran/31346] wrong values for ubound and size of deferred shape arrays
- References: <bug-31346-14266@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from mikael dot morin at tele2 dot fr 2007-03-26 05:58 -------
Created an attachment (id=13286)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13286&action=view)
the working case
The problem arise when the subroutine is not defined in a contains statement in
the main program.
I haven't seen anything in the Fortran 2003 standard forcing the subroutines to
be in the contains statement.
But even if it is the case, the compiler should report an error.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31346