diff options
author | David Wohlferd <dw@LimeGreenSocks.com> | 2014-05-12 22:37:23 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 2014-05-12 22:37:23 +0000 |
commit | f95c6a7849a1f48102d39961a3aeac6a1d65200a (patch) | |
tree | 74f79757c30119f39523c0a0a12488782644d48e /gcc | |
parent | 5e90b26ffdeb658349579edef50309b0c689c8bb (diff) | |
download | gcc-f95c6a7849a1f48102d39961a3aeac6a1d65200a.zip gcc-f95c6a7849a1f48102d39961a3aeac6a1d65200a.tar.gz gcc-f95c6a7849a1f48102d39961a3aeac6a1d65200a.tar.bz2 |
extend.texi: Reflect current numbers of pragmas.
* doc/extend.texi: Reflect current numbers of pragmas. Remove
reference to Solaris.
From-SVN: r210343
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/extend.texi | 18 |
2 files changed, 13 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9614470..1e9a55a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-05-12 David Wohlferd <dw@LimeGreenSocks.com> + + * doc/extend.texi: Reflect current numbers of pragmas. Remove + reference to Solaris. + 2014-05-12 Mike Stump <mikestump@comcast.net> PR other/31778 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 897c562..3dee5cb 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -16885,11 +16885,9 @@ adding a call to the @code{.init} section. @node Symbol-Renaming Pragmas @subsection Symbol-Renaming Pragmas -For compatibility with the Solaris system headers, GCC -supports two @code{#pragma} directives that change the name used in -assembly for a given declaration. To get this effect -on all platforms supported by GCC, use the asm labels extension (@pxref{Asm -Labels}). +GCC supports a @code{#pragma} directive that changes the name used in +assembly for a given declaration. This effect can also be achieved +using the asm labels extension (@pxref{Asm Labels}). @table @code @item redefine_extname @var{oldname} @var{newname} @@ -16901,17 +16899,17 @@ is defined if this pragma is available (currently on all platforms). @end table This pragma and the asm labels extension interact in a complicated -manner. Here are some corner cases you may want to be aware of. +manner. Here are some corner cases you may want to be aware of: @enumerate -@item Both pragmas silently apply only to declarations with external +@item This pragma silently applies only to declarations with external linkage. Asm labels do not have this restriction. -@item In C++, both pragmas silently apply only to declarations with +@item In C++, this pragma silently applies only to declarations with ``C'' linkage. Again, asm labels do not have this restriction. -@item If any of the three ways of changing the assembly name of a -declaration is applied to a declaration whose assembly name has +@item If either of the ways of changing the assembly name of a +declaration are applied to a declaration whose assembly name has already been determined (either by a previous use of one of these features, or because the compiler needed the assembly name in order to generate code), and the new name is different, a warning issues and |