This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/35830] ICE with PROCEDURE(<interface>) containing array formal arguments



------- Comment #11 from burnus at gcc dot gnu dot org  2008-06-07 17:04 -------
> rev. 136130 contains the fixes from comment #2 and comment #3, but the test
> case from comment #1 is still failing.
Diff between dumped tree from comment #6 (working) and comment #1 (failing):

-  f (&parm.38);
+  D.1203 = _gfortran_internal_pack (&parm.38);
+  f (D.1203);
[...]

That means that the argument of f is regarded as assumed-size array ("a(*)")
instead of as assumed-size array ("a(:)"). This happens for instance when the
interface of "f" is not known (or when as->type is wrong).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35830


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]