This is the mail archive of the gcc-patches@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: [PATCH][wwwdocs][AArch64] Add entry for target attributes and pragmas



On 07/09/15 13:16, Kyrill Tkachov wrote:
Hi Gerald,

On 07/09/15 12:31, Gerald Pfeifer wrote:
On Wed, 2 Sep 2015, Kyrill Tkachov wrote:
My thinking was that when we introduce some new command-line option we
list it here and give a short description of it (new -mcpu values, for
example). However, here we introduce about 10 new target attributes and
pragmas and listing them all would make this entry too long for my
liking so as a shorthand for listing them all I chose to point to the
documentation.

Unless you feel strongly against this reasoning I'd like to commit the
patch as is within 48 hours.
I can follow your reasoning, and anyway the 48 hours are way over ;-),
just have you considered adding a reference to the documentation (as a
hyperlink to the respective section, if there is a good one, such as
https://gcc.gnu.org/onlinedocs/gcc/ARM-Pragmas.html#ARM-Pragmas )?
Good idea, I'll send a patch to mention the link.
The relevant one is:
https://gcc.gnu.org/onlinedocs/gcc/AArch64-Function-Attributes.html#AArch64-Function-Attributes

And here is the patch.
I'll apply it in 48 hours if there's no objection.

Thanks,
Kyrill

Index: htdocs/gcc-6/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-6/changes.html,v
retrieving revision 1.26
diff -U 3 -r1.26 changes.html
--- htdocs/gcc-6/changes.html	4 Sep 2015 09:33:28 -0000	1.26
+++ htdocs/gcc-6/changes.html	7 Sep 2015 17:01:08 -0000
@@ -140,7 +140,8 @@
      </li>
      <li>
        The AArch64 port now supports target attributes and pragmas.  Please
-       refer to the documentation for details of available attributes and
+       refer to the <a href="https://gcc.gnu.org/onlinedocs/gcc/AArch64-Function-Attributes.html#AArch64-Function-Attributes";>
+       documentation</a> for details of available attributes and
        pragmas as well as usage instructions.
      </li>
      <li>

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