(j3.2006) finalizer infelicity
Jim Xia
jimxia
Wed Nov 21 17:37:17 EST 2007
Hi
I agree with Bill on this one :-) By the way, there is no constraint even
saying a compiler must diagnose this situation if subroutine S is called
directly (not via finalizer): call S(X1). Without explicit interface,
this call is not something can be diagnosed.
Cheers,
Jim Xia
XL Fortran Compiler Testing
IBM Toronto Lab at 8200 Warden Ave.
Phone (905) 413-3444 Tie-line 313-3444
D2/NAH/8200 /MKM
Bill Long <longb at cray.com>
Sent by: j3-bounces at j3-fortran.org
11/21/2007 05:17 PM
Please respond to
longb at cray.com; Please respond to
fortran standards email list for J3 <j3 at j3-fortran.org>
To
fortran standards email list for J3 <j3 at j3-fortran.org>
cc
Subject
Re: (j3.2006) finalizer infelicity
Aleksandar Donev wrote:
> On Wednesday 21 November 2007 13:41, Michael Ingrassia wrote:
>
>> Anyway, just to be clear, in the code I gave with the extra line
>> TYPE(Q) :: X1(1)
>> in subroutine R, I hope we can all agree
>> that it's not standard conforming.
>>
Certainly.
> No way, don't shoot the programmer just because the standard is broken!
It is
> an interp request and the interp should fix the text rather than forbid
> perfectly fine programs from being written.
>
Sorry. Too late for that. We should not, buy the interp process,
introduce new constraints that turn conforming programs into
non-conforming programs. Interps are for interpretations of what the
standard means. Not for "oops, we changed our minds and want different
rules now". This is not a case where the existing rules are unclear.
And there are enough compilers available that support final routines
that this is not a theoretical discussion.
Cheers,
Bill
> Aleks
>
> _______________________________________________
> 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., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120
_______________________________________________
J3 mailing list
J3 at j3-fortran.org
http://j3-fortran.org/mailman/listinfo/j3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://j3-fortran.org/pipermail/j3/attachments/20071121/f62d2847/attachment.html
More information about the J3
mailing list