What is "fnspec function type attribute"?
Steve Kargl
sgk@troutmask.apl.washington.edu
Fri Jun 6 20:20:00 GMT 2014
On Fri, Jun 06, 2014 at 10:07:37PM +0200, FX wrote:
> In fortran/trans-decl.c, we have a comment above the code building function decls, saying:
>
>> The SPEC parameter specifies the function argument and return type
>> specification according to the fnspec function type attribute. */
>
> I was away from GCC development for some time, so this is news to me. The syntax is not immediately clear, and neither a Google search nor a grep of the trunk?s numerous .texi files reveals any information. I?m creating new decls, what I am to do with it?
>
That comment was introduce by richi.
2010-05-10 Richard Guenther <rguenther@suse.de>
* trans-decl.c (gfc_build_library_function_decl): Split out
worker to ...
(build_library_function_decl_1): ... this new function.
Set a fnspec attribute if a specification was provided.
(gfc_build_library_function_decl_with_spec): New function.
(gfc_build_intrinsic_function_decls): Annotate internal_pack
and internal_unpack.
You may want to ping him on IRC.
--
Steve
More information about the Fortran
mailing list