This is the mail archive of the 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: [Fortran] RFC: Patch to support STDCALL etc. (PR 34112)

Tobias Burnus wrote:
Hi all,

I updated the patch (only gfortran.texi) based on Daniel's and Craig's

OK for the trunk?

One query, one minor error.

+The Fortran standard standard describes how a conforming program shall
+behave; however, the exact implementation is not standardized. In order
+to allow the user to choose the implementation choices, compiler
+directives can be used to set attributes of variables and procedures
+which are not part of the standard. Whether a given attribute is
+supported and its exact effects depend on both the operating system and
+on the processor; see
+@ref{Top,,C Extensions,gcc,Using the GNU Compiler Collection (GCC)}
+for details.

I had previously suggested...

I don't really care for "choose the implementation choices". I think I would write the sentence as follows:

In order to allow the user to choose specific implementation details, compiler directives...

Did you intentionally stick to the original wording, or overlook my suggestion?

+On some systems, procedures and global variables (module variables and
+@code{COMMON} blocks) need "special handling to be accessible when they
+are in a shared library. The following attributes are available:

Stray '"' character that I presume was accidentally copied from my previous comments.

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