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/16939] Pointers not passed as subroutine arguments


------- 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


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