This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31564] Error: Type/rank mismatch in 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: 27 May 2007 23:40:26 -0000
- Subject: [Bug fortran/31564] Error: Type/rank mismatch in argument
- References: <bug-31564-14284@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from burnus at gcc dot gnu dot org 2007-05-27 23:40 -------
Created an attachment (id=13618)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13618&action=view)
decl.c patch (not check-gfortran tested)
Erik, are you still working on this?
One should also check that:
CALL set_bound(the_beta%parameters(1:which))
is rejected. (This does not seem to call compare_parameter).
First step, to get it further is to modify compare_parameter (see attachment).
However, this then crashes in trans-expr.c's gfc_conv_function_call (l.2148)
[invalid memory access].
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31564