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/23373] Functions returning pointers with pointer argument


------- Additional Comments From tobi at gcc dot gnu dot org  2005-08-14 15:53 -------
An alternative approach to setting up a temporary in the caller would be to have
pointer-valued functions use a fake result variable, which only immediately
before returning gets assigned to the real result.  This would allow the
optimizers to do a good job if nothing bad can happen.

-- 


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


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