This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31200] wrong code: procedure call with pointer-returning-function as 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: 16 Mar 2007 14:07:34 -0000
- Subject: [Bug fortran/31200] wrong code: procedure call with pointer-returning-function as argument
- References: <bug-31200-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2007-03-16 14:07 -------
The problem is:
s3(f(x))
which is translated as
{
real4 D.1254;
D.1254 = *f (&x);
s3 (&D.1254);
}
instead of
D.1254 = f(&x)
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2007-03-16 14:07:34
date| |
Summary|wrong code generated with |wrong code: procedure call
|gfortran |with pointer-returning-
| |function as argument
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31200