This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16939] Pointers not passed as subroutine arguments
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Aug 2004 07:55:53 -0000
- Subject: [Bug fortran/16939] Pointers not passed as subroutine arguments
- References: <20040809142725.16939.paulthomas2@wanadoo.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-14 07:55 -------
Well I was wrong on say note no & on the variable, really it should be like:
*temp_ptr = new_item.3;
instead of what it is now:
temp_ptr = (int1[1 .. 15] * &)new_item.3;
because otherwise temp_ptr gets assigned in create and does not get passed back.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16939