------- 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