Commit 38bb2b65 by Sandra Loosemore Committed by Sandra Loosemore

extend.texi (Variable Attributes): Use @ref instead of @xref.

2008-06-28  Sandra Loosemore  <sandra@codesourcery.com>

	gcc/
	* doc/extend.texi (Variable Attributes): Use @ref instead of @xref.
	(Type Attributes): Fix nesting of @table and @subsection.  Adjust
	punctuation.  Use @ref instead of @xref.
	(Function Names): Remove stray @display/@end display.
	(C++ Attributes): Use @ref instead of @xref.
	(Deprecated Features): Fix punctuation around @xref.
	(Backwards Compatibility): Likewise.
	* doc/rtl.texi (Incdec): Remove stray @table/@end table.

From-SVN: r137234
parent 624b157f
2008-06-28 Sandra Loosemore <sandra@codesourcery.com>
* doc/extend.texi (Variable Attributes): Use @ref instead of @xref.
(Type Attributes): Fix nesting of @table and @subsection. Adjust
punctuation. Use @ref instead of @xref.
(Function Names): Remove stray @display/@end display.
(C++ Attributes): Use @ref instead of @xref.
(Deprecated Features): Fix punctuation around @xref.
(Backwards Compatibility): Likewise.
* doc/rtl.texi (Incdec): Remove stray @table/@end table.
2008-06-28 Joseph Myers <joseph@codesourcery.com> 2008-06-28 Joseph Myers <joseph@codesourcery.com>
* config/rs6000/predicates.md (easy_fp_constant): Reject TFmode * config/rs6000/predicates.md (easy_fp_constant): Reject TFmode
......
...@@ -3768,13 +3768,13 @@ targets. You can use @code{__declspec (selectany)} as a synonym for ...@@ -3768,13 +3768,13 @@ targets. You can use @code{__declspec (selectany)} as a synonym for
compilers. compilers.
@item weak @item weak
The @code{weak} attribute is described in @xref{Function Attributes}. The @code{weak} attribute is described in @ref{Function Attributes}.
@item dllimport @item dllimport
The @code{dllimport} attribute is described in @xref{Function Attributes}. The @code{dllimport} attribute is described in @ref{Function Attributes}.
@item dllexport @item dllexport
The @code{dllexport} attribute is described in @xref{Function Attributes}. The @code{dllexport} attribute is described in @ref{Function Attributes}.
@end table @end table
...@@ -3955,21 +3955,21 @@ Three attributes currently are defined for PowerPC configurations: ...@@ -3955,21 +3955,21 @@ Three attributes currently are defined for PowerPC configurations:
@code{altivec}, @code{ms_struct} and @code{gcc_struct}. @code{altivec}, @code{ms_struct} and @code{gcc_struct}.
For full documentation of the struct attributes please see the For full documentation of the struct attributes please see the
documentation in the @xref{i386 Variable Attributes}, section. documentation in @ref{i386 Variable Attributes}.
For documentation of @code{altivec} attribute please see the For documentation of @code{altivec} attribute please see the
documentation in the @xref{PowerPC Type Attributes}, section. documentation in @ref{PowerPC Type Attributes}.
@subsection SPU Variable Attributes @subsection SPU Variable Attributes
The SPU supports the @code{spu_vector} attribute for variables. For The SPU supports the @code{spu_vector} attribute for variables. For
documentation of this attribute please see the documentation in the documentation of this attribute please see the documentation in
@xref{SPU Type Attributes}, section. @ref{SPU Type Attributes}.
@subsection Xstormy16 Variable Attributes @subsection Xstormy16 Variable Attributes
One attribute is currently defined for xstormy16 configurations: One attribute is currently defined for xstormy16 configurations:
@code{below100} @code{below100}.
@table @code @table @code
@item below100 @item below100
...@@ -4283,6 +4283,8 @@ and caught in another, the class must have default visibility. ...@@ -4283,6 +4283,8 @@ and caught in another, the class must have default visibility.
Otherwise the two shared objects will be unable to use the same Otherwise the two shared objects will be unable to use the same
typeinfo node and exception handling will break. typeinfo node and exception handling will break.
@end table
@subsection ARM Type Attributes @subsection ARM Type Attributes
On those ARM targets that support @code{dllimport} (such as Symbian On those ARM targets that support @code{dllimport} (such as Symbian
...@@ -4310,7 +4312,9 @@ most Symbian OS code uses @code{__declspec}.) ...@@ -4310,7 +4312,9 @@ most Symbian OS code uses @code{__declspec}.)
@subsection i386 Type Attributes @subsection i386 Type Attributes
Two attributes are currently defined for i386 configurations: Two attributes are currently defined for i386 configurations:
@code{ms_struct} and @code{gcc_struct} @code{ms_struct} and @code{gcc_struct}.
@table @code
@item ms_struct @item ms_struct
@itemx gcc_struct @itemx gcc_struct
...@@ -4338,8 +4342,8 @@ packed))}. ...@@ -4338,8 +4342,8 @@ packed))}.
Three attributes currently are defined for PowerPC configurations: Three attributes currently are defined for PowerPC configurations:
@code{altivec}, @code{ms_struct} and @code{gcc_struct}. @code{altivec}, @code{ms_struct} and @code{gcc_struct}.
For full documentation of the struct attributes please see the For full documentation of the @code{ms_struct} and @code{gcc_struct}
documentation in the @xref{i386 Type Attributes}, section. attributes please see the documentation in @ref{i386 Type Attributes}.
The @code{altivec} attribute allows one to declare AltiVec vector data The @code{altivec} attribute allows one to declare AltiVec vector data
types supported by the AltiVec Programming Interface Manual. The types supported by the AltiVec Programming Interface Manual. The
...@@ -5283,7 +5287,6 @@ GCC provides three magic variables which hold the name of the current ...@@ -5283,7 +5287,6 @@ GCC provides three magic variables which hold the name of the current
function, as a string. The first of these is @code{__func__}, which function, as a string. The first of these is @code{__func__}, which
is part of the C99 standard: is part of the C99 standard:
@display
The identifier @code{__func__} is implicitly declared by the translator The identifier @code{__func__} is implicitly declared by the translator
as if, immediately following the opening brace of each function as if, immediately following the opening brace of each function
definition, the declaration definition, the declaration
...@@ -5292,9 +5295,9 @@ definition, the declaration ...@@ -5292,9 +5295,9 @@ definition, the declaration
static const char __func__[] = "function-name"; static const char __func__[] = "function-name";
@end smallexample @end smallexample
@noindent
appeared, where function-name is the name of the lexically-enclosing appeared, where function-name is the name of the lexically-enclosing
function. This name is the unadorned name of the function. function. This name is the unadorned name of the function.
@end display
@code{__FUNCTION__} is another name for @code{__func__}. Older @code{__FUNCTION__} is another name for @code{__func__}. Older
versions of GCC recognize only this name. However, it is not versions of GCC recognize only this name. However, it is not
...@@ -12316,7 +12319,7 @@ interface table mechanism, instead of regular virtual table dispatch. ...@@ -12316,7 +12319,7 @@ interface table mechanism, instead of regular virtual table dispatch.
@end table @end table
See also @xref{Namespace Association}. See also @ref{Namespace Association}.
@node Namespace Association @node Namespace Association
@section Namespace Association @section Namespace Association
...@@ -12543,7 +12546,7 @@ should work just fine for standard-conforming code. ...@@ -12543,7 +12546,7 @@ should work just fine for standard-conforming code.
Previously it was possible to use an empty prototype parameter list to Previously it was possible to use an empty prototype parameter list to
indicate an unspecified number of parameters (like C), rather than no indicate an unspecified number of parameters (like C), rather than no
parameters, as C++ demands. This feature has been removed, except where parameters, as C++ demands. This feature has been removed, except where
it is required for backwards compatibility @xref{Backwards Compatibility}. it is required for backwards compatibility. @xref{Backwards Compatibility}.
@end table @end table
G++ allows a virtual function returning @samp{void *} to be overridden G++ allows a virtual function returning @samp{void *} to be overridden
...@@ -12594,7 +12597,7 @@ used to be acceptable in previous drafts of the standard, such as the ARM ...@@ -12594,7 +12597,7 @@ used to be acceptable in previous drafts of the standard, such as the ARM
compilation of C++ written to such drafts, G++ contains some backwards compilation of C++ written to such drafts, G++ contains some backwards
compatibilities. @emph{All such backwards compatibility features are compatibilities. @emph{All such backwards compatibility features are
liable to disappear in future versions of G++.} They should be considered liable to disappear in future versions of G++.} They should be considered
deprecated @xref{Deprecated Features}. deprecated. @xref{Deprecated Features}.
@table @code @table @code
@item For scope @item For scope
......
...@@ -3188,11 +3188,9 @@ represents @var{x} before @var{x} is modified. @var{x} must be a ...@@ -3188,11 +3188,9 @@ represents @var{x} before @var{x} is modified. @var{x} must be a
@var{m} must be the machine mode for pointers on the machine in use. @var{m} must be the machine mode for pointers on the machine in use.
The expression @var{y} must be one of three forms: The expression @var{y} must be one of three forms:
@table @code
@code{(plus:@var{m} @var{x} @var{z})}, @code{(plus:@var{m} @var{x} @var{z})},
@code{(minus:@var{m} @var{x} @var{z})}, or @code{(minus:@var{m} @var{x} @var{z})}, or
@code{(plus:@var{m} @var{x} @var{i})}, @code{(plus:@var{m} @var{x} @var{i})},
@end table
where @var{z} is an index register and @var{i} is a constant. where @var{z} is an index register and @var{i} is a constant.
Here is an example of its use: Here is an example of its use:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment