[Bug fortran/39505] Consider a 'no arg check' directive
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 16 21:44:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39505
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WONTFIX |FIXED
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-04-16 21:44:29 UTC ---
Re-close as FIXED.
This feature is now supported on the GCC 4.9 trunk:
!GCC$ attributes no_arg_check::buf
Contrary to TYPE(*), which is supported since GCC 4.8, this attribute not only
disables the T(ype) and K(ind) checking but also the rank check (= full TKR).
To be used with TYPE(*) [recommended; integer, real, complex and logical are
also fine]; the dummy argument can be either a scalar or an assumed-size array.
Such dummies may only be passed on or used as argument to C_LOC.
See http://gcc.gnu.org/onlinedocs/gfortran/GNU-Fortran-Compiler-Directives.html
More information about the Gcc-bugs
mailing list