This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42958] Weird temporary array allocation
- 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: 28 Mar 2010 13:05:13 -0000
- Subject: [Bug fortran/42958] Weird temporary array allocation
- References: <bug-42958-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from burnus at gcc dot gnu dot org 2010-03-28 13:05 -------
(In reply to comment #12)
> (I am thinking of
> call f(array(...))
> where one knows that "f" does not allow for a zero-sized array argument.
s/where/if/ - in the general case one does not know. Especially for
dummyArg(n) and dummyArg(*) [and if no interface it known]
one does not know it, while for
dummyArg(4)
one does. I fear, that this is a rare case.
For "call foo(Ix)" in the Tonto example of comment 9, one does not know as the
explicit interface interface of "foo" is not known.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42958