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/31211] wrong code generated for pointer returning function as actual argument



------- Comment #6 from pault at gcc dot gnu dot org  2007-07-26 09:20 -------
(In reply to comment #5)
> > This fixes the PR but is not regtested:
> 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.

Paul


-- 


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


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