(j3.2006) Some Questions About Function Returnign a Pointer is a Variable (Was:: READ unit ambiguity)

Bill Long longb
Fri Mar 2 12:07:54 EST 2012

On 3/2/12 10:55 AM, Craig Dedo wrote:

> 	The new rule, "function reference returning a pointer is a variable", seems like a
> Really Bad Feature, more like a defect that needs fixing.  I have a few questions.
> 	I tried looking up "function reference returning a pointer is a variable" in the
> Fortran 2008 standard and I could not find it.  Where is this defined?

See 6.2, definition of "variable".


> 	How difficult would it be to reverse out this abomination?
> 	How many compilers have already implemented this "feature"?
> 	How many programs or users depend on it?  How difficult would it be for them to
> change their programs if this "feature" was reversed out?
> 	What were the perceived benefits of this "feature"?  From my perspective, it
> appears to have few, if any, benefits and a very large number of complications.
> Sincerely,
> Craig T. Dedo
> 17130 W. Burleigh Place
> P. O. Box 423                         Mobile Phone:  (414) 412-5869
> Brookfield, WI   53008-0423    E-mail:<craig at ctdedo.com>
> Linked-In:  http://www.linkedin.com/in/craigdedo
> _______________________________________________
> J3 mailing list
> J3 at j3-fortran.org
> http://j3-fortran.org/mailman/listinfo/j3

Bill Long                                           longb at cray.com
Fortran Technical Support    &                 voice: 651-605-9024
Bioinformatics Software Development            fax:   651-605-9142
Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101

More information about the J3 mailing list