(j3.2006) paper 13-228

Bill Long longb
Tue Feb 5 19:20:15 EST 2013



On 2/5/13 5:12 PM, Robert Corbett wrote:
> While I know we are supposed to read all the papers before the meeting, I want
> to draw special attention to paper 13-228.  I see no good solutions to the issue
> discussed in the paper.  One seemingly small extension has caused a remarkable
> number of problems.

Understatement!

I'm not convinced the first alternate edit is correct.  If the dummy 
argument associated with the pointer function reference is never 
referenced in the procedure, the procedure appears to be still 
conforming.  Or if the procedure has only one argument and no other 
access to data outside the procedure (no USE or COMMON or host 
association) then the target of the corresponding actual argument 
pointer could be modified by the procedure and still have a conforming 
procedure.

I find the prospect of having programs that were perfectly legal in 
F2003 suddenly breaking to be disconcerting.   It is also disturbing to 
make codes that are legal now with F2008 suddenly no longer legal.   As 
Bob says, "no good solutions".

I suppose the lesson is to treat "seemingly small extension" proposals 
with a healthy dose of skepticism.

Cheers,
Bill



>
> Robert Corbett
> _______________________________________________
> J3 mailing list
> J3 at mailman.j3-fortran.org
> http://mailman.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