[llvm-branch-commits] [llvm-gcc-branch] r129958 - in /llvm-gcc-4.2/branches/Apple/Morbo: ./ build_gcc gcc/doc/invoke.texi

Stuart Hastings stuart at apple.com
Thu Apr 21 17:03:37 PDT 2011


Author: stuart
Date: Thu Apr 21 19:03:37 2011
New Revision: 129958

URL: http://llvm.org/viewvc/llvm-project?rev=129958&view=rev
Log:
Merge manpage tweaks 129946 and 129957 from trunk into Morbo branch.  rdar://problem/9286944

Modified:
    llvm-gcc-4.2/branches/Apple/Morbo/   (props changed)
    llvm-gcc-4.2/branches/Apple/Morbo/build_gcc
    llvm-gcc-4.2/branches/Apple/Morbo/gcc/doc/invoke.texi

Propchange: llvm-gcc-4.2/branches/Apple/Morbo/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Apr 21 19:03:37 2011
@@ -1,2 +1,2 @@
 /llvm/trunk:100565
-/llvm-gcc-4.2/trunk:98728,98841,98893,99196,99262,99305,99412,99592-99593,99629,99670,99982,99984-99986,99988,99992-99993,99995,99997-99999,100035,100149,100303,100565,100624-100626,100712,100721,101090-101091,101199,101216,101304,101333,101614,101804,101959,102139,102148,102433,102444,102506-102507,102511,102532,102561,102589,102636,102648,102745,103361,103366-103367,103394,103414,103644,103800,103918,104181,104384,104420,104423,104523,104726,105504,105828-105829,105902,105948-105949,106005,106243-106244,106270,106352,106564,106611-106612,106681,106690,106711,107062,107439,107843,108784-108786,109556-109557,109702,110043,110250,110405,110459,110501,110689,110727,113248,114961,118368,118749,120922,127261-127262,127309,128016,129022
+/llvm-gcc-4.2/trunk:98728,98841,98893,99196,99262,99305,99412,99592-99593,99629,99670,99982,99984-99986,99988,99992-99993,99995,99997-99999,100035,100149,100303,100565,100624-100626,100712,100721,101090-101091,101199,101216,101304,101333,101614,101804,101959,102139,102148,102433,102444,102506-102507,102511,102532,102561,102589,102636,102648,102745,103361,103366-103367,103394,103414,103644,103800,103918,104181,104384,104420,104423,104523,104726,105504,105828-105829,105902,105948-105949,106005,106243-106244,106270,106352,106564,106611-106612,106681,106690,106711,107062,107439,107843,108784-108786,109556-109557,109702,110043,110250,110405,110459,110501,110689,110727,113248,114961,118368,118749,120922,127261-127262,127309,128016,129022,129946,129957

Modified: llvm-gcc-4.2/branches/Apple/Morbo/build_gcc
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Morbo/build_gcc?rev=129958&r1=129957&r2=129958&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Morbo/build_gcc (original)
+++ llvm-gcc-4.2/branches/Apple/Morbo/build_gcc Thu Apr 21 19:03:37 2011
@@ -635,19 +635,20 @@
 done
 
 # LLVM LOCAL begin
-# Compress manpages
-gzip -f $MDIR/*
-
 if [ "x$RC_ProjectName" = "xllvmgcc42_Embedded" ]; then
 MAN1_DIR=${DEST_DIR}${ARM_PLATFORM}/Developer/usr/share/man/man1
 else
 MAN1_DIR=$DEST_DIR/Developer/usr/share/man/man1
 fi
 mkdir -p ${MAN1_DIR}
+for i in gcc.1 g++.1 ; do
+    cp $DIR/obj-$BUILD-$BUILD/gcc/doc/$i ${MAN1_DIR}/$i
+done
 cp $ORIG_SRC_DIR/gcc/doc/llvm-gcc.1 ${MAN1_DIR}/llvm-gcc.1
+# llvm-g++ manpage is a dup of llvm-gcc manpage
 cp $ORIG_SRC_DIR/gcc/doc/llvm-gcc.1 ${MAN1_DIR}/llvm-g++.1
-gzip -f ${MAN1_DIR}/llvm-gcc.1
-gzip -f ${MAN1_DIR}/llvm-g++.1
+# Compress manpages
+gzip -f $MDIR/* ${MAN1_DIR}/*
 # LLVM LOCAL end
 
 # Build driver-driver using fully-named drivers

Modified: llvm-gcc-4.2/branches/Apple/Morbo/gcc/doc/invoke.texi
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Morbo/gcc/doc/invoke.texi?rev=129958&r1=129957&r2=129958&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Morbo/gcc/doc/invoke.texi (original)
+++ llvm-gcc-4.2/branches/Apple/Morbo/gcc/doc/invoke.texi Thu Apr 21 19:03:37 2011
@@ -47,9 +47,8 @@
 
 @c APPLE LOCAL begin manual
 In Apple's version of GCC, both @samp{cc} and @samp{gcc} are actually
-symbolic links to a compiler named like gcc- at var{version}.
-Similarly, @samp{c++} and @samp{g++} are links to a compiler named like
-g++- at var{version}.
+symbolic links to the @samp{llvm-gcc} compiler.
+Similarly, @samp{c++} and @samp{g++} are links to @samp{llvm-g++}.
 
 Note that Apple's GCC includes a number of extensions to standard GCC
 (flagged below with ``APPLE ONLY''), and that not all generic GCC
@@ -5072,18 +5071,16 @@
 optimizations that have a flag are listed.
 
 @table @gcctabopt
- at item -O
- at itemx -O1
- at opindex O
+ at item -O1
 @opindex O1
 Optimize.  Optimizing compilation takes somewhat more time, and a lot
 more memory for a large function.
 
-With @option{-O}, the compiler tries to reduce code size and execution
+With @option{-O1}, the compiler tries to reduce code size and execution
 time, without performing any optimizations that take a great deal of
 compilation time.
 
- at option{-O} turns on the following optimization flags:
+ at option{-O1} turns on the following optimization flags:
 @gccoptlist{-fdefer-pop @gol
 -fdelayed-branch @gol
 -fguess-branch-probability @gol
@@ -5103,18 +5100,22 @@
 -funit-at-a-time @gol
 -fmerge-constants}
 
- at option{-O} also turns on @option{-fomit-frame-pointer} on machines
+ at option{-O1} also turns on @option{-fomit-frame-pointer} on machines
 where doing so does not interfere with debugging.
 
- at item -O2
+ at item -O
+ at opindex O
+ at itemx -O2
 @opindex O2
 Optimize even more.  GCC performs nearly all supported optimizations
 that do not involve a space-speed tradeoff.  The compiler does not
 perform loop unrolling or function inlining when you specify @option{-O2}.
-As compared to @option{-O}, this option increases both compilation time
+As compared to @option{-O1}, this option increases both compilation time
 and the performance of the generated code.
 
- at option{-O2} turns on all optimization flags specified by @option{-O}.  It
+LLVM-GCC's @option{-O} is a synonym for @option{-O2}.
+
+ at option{-O2} turns on all optimization flags specified by @option{-O1}.  It
 also turns on the following optimization flags:
 @gccoptlist{-fthread-jumps @gol
 -fcrossjumping @gol
@@ -6478,6 +6479,16 @@
 This option is experimental and does not currently guarantee to
 disable all GCC optimizations that affect signaling NaN behavior.
 
+ at item -fno-honor-nans
+ at opindex fno-honor-nans
+Allow optimizations for floating-point arithmetic that assume that arguments and results are not NaNs.
+The default is -fhonor-nans.
+
+ at item -fno-honor-infinites
+ at opindex fno-honor-infinites
+Allow optimizations for floating-point arithmetic that assume that arguments and results are not +-Infs.
+The default is -fhonor-infinites.
+
 @item -fsingle-precision-constant
 @opindex fsingle-precision-constant
 Treat floating point constant as single precision constant instead of





More information about the llvm-branch-commits mailing list