diff options
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/contrib.texi | 7 | ||||
-rw-r--r-- | gcc/doc/install.texi | 5 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 20 | ||||
-rw-r--r-- | gcc/doc/tm.texi.in | 20 |
4 files changed, 30 insertions, 22 deletions
diff --git a/gcc/doc/contrib.texi b/gcc/doc/contrib.texi index ccfa0ca36a9..e4d656d4948 100644 --- a/gcc/doc/contrib.texi +++ b/gcc/doc/contrib.texi @@ -305,11 +305,10 @@ Peter Gerwinski for various bug fixes and the Pascal front end. @item Kaveh R.@: Ghazi for his direction via the steering committee, amazing -work to make @samp{-W -Wall -W* -Werror} useful, and continuously +work to make @samp{-W -Wall -W* -Werror} useful, and testing GCC on a plethora of platforms. Kaveh extends his gratitude to -the @uref{http://www.caip.rutgers.edu,,CAIP Center} at Rutgers -University for providing him with computing resources to work on Free -Software since the late 1980s. +the CAIP Center at Rutgers University for providing him with computing +resources to work on Free Software from the late 1980s to 2010. @item John Gilmore for a donation to the FSF earmarked improving GNU Java. diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index e534216b084..8273a87a361 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -254,6 +254,11 @@ To build all languages in a cross-compiler or other configuration where GCC binary (version 3.4 or later) because source code for language frontends other than C might use GCC extensions. +Note that to bootstrap GCC with versions of GCC earlier than 3.4, you +may need to use @option{--disable-stage1-checking}, though +bootstrapping the compiler with such earlier compilers is strongly +discouraged. + @item GNAT In order to build the Ada compiler (GNAT) you must already have GNAT diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 3ab99871c3b..75aa8672758 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -6024,25 +6024,27 @@ You should define this macro if and only if you define extra CC modes in @file{@var{machine}-modes.def}. @end defmac -@defmac CANONICALIZE_COMPARISON (@var{code}, @var{op0}, @var{op1}) +@deftypefn {Target Hook} void TARGET_CANONICALIZE_COMPARISON (int *@var{code}, rtx *@var{op0}, rtx *@var{op1}, bool @var{op0_preserve_value}) (@var{code}, @var{op0}, @var{op1}, @var{op0_preserve_value}) On some machines not all possible comparisons are defined, but you can convert an invalid comparison into a valid one. For example, the Alpha does not have a @code{GT} comparison, but you can use an @code{LT} comparison instead and swap the order of the operands. -On such machines, define this macro to be a C statement to do any -required conversions. @var{code} is the initial comparison code -and @var{op0} and @var{op1} are the left and right operands of the -comparison, respectively. You should modify @var{code}, @var{op0}, and -@var{op1} as required. +On such machines, implement this hook to do any required conversions. +@var{code} is the initial comparison code and @var{op0} and @var{op1} +are the left and right operands of the comparison, respectively. If +@var{op0_preserve_value} is @code{true} the implementation is not +allowed to change the value of @var{op0} since the value might be used +in RTXs which aren't comparisons. E.g. the implementation is not +allowed to swap operands in that case. GCC will not assume that the comparison resulting from this macro is valid but will see if the resulting insn matches a pattern in the @file{md} file. -You need not define this macro if it would never change the comparison -code or operands. -@end defmac +You need not to implement this hook if it would never change the +comparison code or operands. +@end deftypefn @defmac REVERSIBLE_CC_MODE (@var{mode}) A C expression whose value is one if it is always safe to reverse a diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in index 6d48fe48b75..95fab189c70 100644 --- a/gcc/doc/tm.texi.in +++ b/gcc/doc/tm.texi.in @@ -5928,25 +5928,27 @@ You should define this macro if and only if you define extra CC modes in @file{@var{machine}-modes.def}. @end defmac -@defmac CANONICALIZE_COMPARISON (@var{code}, @var{op0}, @var{op1}) +@hook TARGET_CANONICALIZE_COMPARISON (@var{code}, @var{op0}, @var{op1}, @var{op0_preserve_value}) On some machines not all possible comparisons are defined, but you can convert an invalid comparison into a valid one. For example, the Alpha does not have a @code{GT} comparison, but you can use an @code{LT} comparison instead and swap the order of the operands. -On such machines, define this macro to be a C statement to do any -required conversions. @var{code} is the initial comparison code -and @var{op0} and @var{op1} are the left and right operands of the -comparison, respectively. You should modify @var{code}, @var{op0}, and -@var{op1} as required. +On such machines, implement this hook to do any required conversions. +@var{code} is the initial comparison code and @var{op0} and @var{op1} +are the left and right operands of the comparison, respectively. If +@var{op0_preserve_value} is @code{true} the implementation is not +allowed to change the value of @var{op0} since the value might be used +in RTXs which aren't comparisons. E.g. the implementation is not +allowed to swap operands in that case. GCC will not assume that the comparison resulting from this macro is valid but will see if the resulting insn matches a pattern in the @file{md} file. -You need not define this macro if it would never change the comparison -code or operands. -@end defmac +You need not to implement this hook if it would never change the +comparison code or operands. +@end deftypefn @defmac REVERSIBLE_CC_MODE (@var{mode}) A C expression whose value is one if it is always safe to reverse a |