[Patch, Fortran] Mark intrinsics called by the finalization wrapper as attr.artificial
Tobias Burnus
burnus@net-b.de
Mon May 27 12:35:00 GMT 2013
Testing showed that the finalization wrapper caused errors of the kind:
Error: The intrinsic '_F.rank' declared INTRINSIC at (1) is not
available in the current standard settings but new in TS 29113. Use an
appropriate -std=* option or enable -fall-intrinsics in order to use it.
That's fixed by the attached patch, which I have committed as obvious
(Rev. 199355). (I have a test case, which depends on a not yet submitted
patch. The artificial cannot interfere with user functions as GFC_PREFIX
gives a symtree which cannot interfere with a normal Fortran name.)
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: final.diff
Type: text/x-patch
Size: 1577 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20130527/5db2ac6c/attachment.bin>
More information about the Fortran
mailing list