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]

Patch for typo in invoke.texi


I've installed as obvious the following patch to fix a typo in invoke.texi
(on mainline only, since the wording with the typo in was added after the
branch).  gcc.1 regenerated as well.

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 1.9487
diff -u -r1.9487 ChangeLog
--- ChangeLog	2001/03/09 20:53:50	1.9487
+++ ChangeLog	2001/03/09 21:55:50
@@ -1,3 +1,8 @@
+2001-03-09  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+	* invoke.texi: Fix typo.
+	* gcc.1: Regenerate.
+
 2001-03-09  Zack Weinberg  <zackw@stanford.edu>
 
 	* configure.in: Prune nonexistent files from build_xm_file,
Index: invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/invoke.texi,v
retrieving revision 1.283
diff -u -r1.283 invoke.texi
--- invoke.texi	2001/03/07 19:29:36	1.283
+++ invoke.texi	2001/03/09 21:55:54
@@ -6573,7 +6573,7 @@
 for that particular chip, the compiler will not generate any code that
 does not run on the i386 without the @samp{-march=@var{cpu type}} option
 being used.  @samp{i586} is equivalent to @samp{pentium} and @samp{i686}
-is equivalent to @samp{pentiumpro}.  @samp{k6} and @samp{athlon} sre the
+is equivalent to @samp{pentiumpro}.  @samp{k6} and @samp{athlon} are the
 AMD chips as opposed to the Intel ones.
 
 @item -march=@var{cpu type}
Index: gcc.1
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcc.1,v
retrieving revision 1.21
diff -u -r1.21 gcc.1
--- gcc.1	2001/02/19 20:03:41	1.21
+++ gcc.1	2001/03/09 21:56:03
@@ -1,5 +1,5 @@
 .\" Automatically generated by Pod::Man version 1.1
-.\" Mon Feb 19 19:32:03 2001
+.\" Fri Mar  9 21:54:51 2001
 .\"
 .\" Standard preamble:
 .\" ======================================================================
@@ -138,7 +138,7 @@
 .\" ======================================================================
 .\"
 .IX Title "GCC 1"
-.TH GCC 1 "gcc-3.1" "2001-02-19" "GNU"
+.TH GCC 1 "gcc-3.1" "2001-03-09" "GNU"
 .UC
 .SH "NAME"
 gcc \- \s-1GNU\s0 project C and \*(C+ compiler
@@ -280,8 +280,9 @@
 \&\-finline-functions  \-finline-limit=\fR\fIn\fR  \fB\-fkeep-inline-functions 
 \&\-fkeep-static-consts  \-fmove-all-movables 
 \&\-fno-default-inline  \-fno-defer-pop 
-\&\-fno-function-cse   \-fno-guess-branch-probability
+\&\-fno-function-cse   \-fno-guess-branch-probability 
 \&\-fno-inline  \-fno-math-errno  \-fno-peephole 
+\&\-funsafe-math-optimizations \-fno-trapping-math 
 \&\-fomit-frame-pointer  \-foptimize-register-move 
 \&\-foptimize-sibling-calls  \-freduce-all-givs 
 \&\-fregmove  \-frename-registers 
@@ -2819,12 +2820,13 @@
 performed when this option is not used.
 .Ip "\fB\-ffast-math\fR" 4
 .IX Item "-ffast-math"
-This option allows \s-1GCC\s0 to violate some \s-1ISO\s0 or \s-1IEEE\s0 rules and/or
-specifications in the interest of optimizing code for speed.  For
-example, it allows the compiler to assume arguments to the \f(CW\*(C`sqrt\*(C'\fR
-function are non-negative numbers and that no floating-point values
-are NaNs.
+Sets \fB\-fno-math-errno\fR, \fB\-funsafe-math-optimizations\fR,
+and \fB\-fno-trapping-math\fR.
 .Sp
+This option causes the preprocessor macro _\|_FAST_MATH_\|_ to be defined.
+.Sp
+This option causes the preprocessor macro _\|_FAST_MATH_\|_ to be defined.
+.Sp
 This option should never be turned on by any \fB\-O\fR option since
 it can result in incorrect output for programs which depend on
 an exact implementation of \s-1IEEE\s0 or \s-1ISO\s0 rules/specifications for
@@ -2836,8 +2838,39 @@
 \&\s-1IEEE\s0 exceptions for math error handling may want to use this flag
 for speed while maintaining \s-1IEEE\s0 arithmetic compatibility.
 .Sp
+This option should never be turned on by any \fB\-O\fR option since
+it can result in incorrect output for programs which depend on
+an exact implementation of \s-1IEEE\s0 or \s-1ISO\s0 rules/specifications for
+math functions.
+.Sp
 The default is \fB\-fmath-errno\fR.  The \fB\-ffast-math\fR option
 sets \fB\-fno-math-errno\fR.
+.Ip "\fB\-funsafe-math-optimizations\fR" 4
+.IX Item "-funsafe-math-optimizations"
+Allow optimizations for floating-point arithmetic that (a) assume
+that arguments and results are valid and (b) may violate \s-1IEEE\s0 or
+\&\s-1ANSI\s0 standards.  
+.Sp
+This option should never be turned on by any \fB\-O\fR option since
+it can result in incorrect output for programs which depend on
+an exact implementation of \s-1IEEE\s0 or \s-1ISO\s0 rules/specifications for
+math functions.
+.Sp
+The default is \fB\-fno-unsafe-math-optimizations\fR.  The
+\&\fB\-ffast-math\fR option sets \fB\-funsafe-math-optimizations\fR.
+.Ip "\fB\-fno-trapping-math\fR" 4
+.IX Item "-fno-trapping-math"
+Compile code assuming that floating-point operations cannot generate
+user-visible traps.  Setting this option may allow faster code
+if one relies on ``non-stop'' \s-1IEEE\s0 arithmetic, for example.
+.Sp
+This option should never be turned on by any \fB\-O\fR option since
+it can result in incorrect output for programs which depend on
+an exact implementation of \s-1IEEE\s0 or \s-1ISO\s0 rules/specifications for
+math functions.
+.Sp
+The default is \fB\-ftrapping-math\fR.  The \fB\-ffast-math\fR
+option sets \fB\-fno-trapping-math\fR.
 .PP
 The following options control specific optimizations.  The \fB\-O2\fR
 option turns on all of these optimizations except \fB\-funroll-loops\fR
@@ -5851,14 +5884,14 @@
 Assume the defaults for the machine type \fIcpu type\fR when scheduling
 instructions.  The choices for \fIcpu type\fR are \fBi386\fR,
 \&\fBi486\fR, \fBi586\fR, \fBi686\fR, \fBpentium\fR,
-\&\fBpentiumpro\fR, \fBk6\fR, and \fBathlon\fR
+\&\fBpentiumpro\fR, \fBpentium4\fR, \fBk6\fR, and \fBathlon\fR
 .Sp
 While picking a specific \fIcpu type\fR will schedule things appropriately
 for that particular chip, the compiler will not generate any code that
 does not run on the i386 without the \fB\-march=\fR\fIcpu type\fR option
 being used.  \fBi586\fR is equivalent to \fBpentium\fR and \fBi686\fR
-is equivalent to \fBpentiumpro\fR.  \fBk6\fR is the \s-1AMD\s0 chip as
-opposed to the Intel ones.
+is equivalent to \fBpentiumpro\fR.  \fBk6\fR and \fBathlon\fR are the
+\&\s-1AMD\s0 chips as opposed to the Intel ones.
 .Ip "\fB\-march=\fR\fIcpu type\fR" 4
 .IX Item "-march=cpu type"
 Generate instructions for the machine type \fIcpu type\fR.  The choices
@@ -5917,7 +5950,7 @@
 \&\f(CW\*(C`sqrt\*(C'\fR instructions for the 387.  Specify this option to avoid
 generating those instructions. This option is the default on FreeBSD.
 As of revision 2.6.1, these instructions are not generated unless you
-also use the \fB\-ffast-math\fR switch.
+also use the \fB\-funsafe-math-optimizations\fR switch.
 .Ip "\fB\-malign-double\fR" 4
 .IX Item "-malign-double"
 .PD 0

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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