This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31211] wrong code generated for pointer returning function as actual 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: 26 Jul 2007 09:49:41 -0000
- Subject: [Bug fortran/31211] wrong code generated for pointer returning function as actual argument
- References: <bug-31211-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from burnus at gcc dot gnu dot org 2007-07-26 09:49 -------
> > Patch looks OK and regtests on x86-64.
> That's strange - for me, it breaks ret_pointer_2.f90, at the statement print *,
> x(3) because the elements in the data transfer are incorrectly referenced.
In the boot-strapped compiler of today I also get this failure (x86-64:
-m32/-m64); I probably should always do the full
bootstrap/check-gfortran(-m32/-m64) to make sure it really works :-/
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31211