This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What is "fnspec function type attribute"?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]