[llvm-commits] [llvm-gcc-4.2] r58585 - /llvm-gcc-4.2/trunk/gcc/doc/invoke.texi
Bill Wendling
isanbard at gmail.com
Sun Nov 2 17:57:08 PST 2008
Author: void
Date: Sun Nov 2 19:57:07 2008
New Revision: 58585
URL: http://llvm.org/viewvc/llvm-project?rev=58585&view=rev
Log:
Update to Apple GCC mainline.
Modified:
llvm-gcc-4.2/trunk/gcc/doc/invoke.texi
Modified: llvm-gcc-4.2/trunk/gcc/doc/invoke.texi
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/doc/invoke.texi?rev=58585&r1=58584&r2=58585&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/doc/invoke.texi (original)
+++ llvm-gcc-4.2/trunk/gcc/doc/invoke.texi Sun Nov 2 19:57:07 2008
@@ -287,6 +287,8 @@
-Wno-format-extra-args -Wformat-nonliteral @gol
@c APPLE LOCAL default to Wformat-security 5764921
-Wno-format-security -Wformat-y2k @gol
+ at c APPLE LOCAL Wglobal-constructors 6324584
+-Wglobal-constructors @gol
-Wimplicit -Wimplicit-function-declaration -Wimplicit-int @gol
-Wimport -Wno-import -Winit-self -Winline @gol
-Wno-int-to-pointer-cast @gol
@@ -295,6 +297,8 @@
-Wmain -Wmissing-braces -Wmissing-field-initializers @gol
-Wmissing-format-attribute -Wmissing-include-dirs @gol
-Wmissing-noreturn @gol
+ at c APPLE LOCAL warn missing prototype 6261539
+-Wmissing-prototypes @gol
@c APPLE LOCAL -Wmost
-Wmost (APPLE ONLY) @gol
-Wno-multichar -Wnonnull -Wno-overflow @gol
@@ -315,7 +319,8 @@
@c APPLE LOCAL begin -Wdiscard-qual 4086969
@item C-only Warning Options
@gccoptlist{-Wbad-function-cast -Wmissing-declarations @gol
--Wmissing-prototypes -Wnested-externs -Wold-style-definition @gol
+ at c APPLE LOCAL warn missing prototype 6261539
+-Wnested-externs -Wold-style-definition @gol
-Wstrict-prototypes -Wtraditional @gol
-Wdeclaration-after-statement -Wno-discard-qual -Wno-pointer-sign}
@c APPLE LOCAL end -Wdiscard-qual 4086969
@@ -906,7 +911,10 @@
-fargument-alias -fargument-noalias @gol
-fargument-noalias-global -fargument-noalias-anything
-fleading-underscore -ftls-model=@var{model} @gol
--ftrapv -fwrapv -fbounds-check @gol
+ at c APPLE LOCAL begin prune man page 5547358
+ at c -ftrapv
+-fwrapv -fbounds-check @gol
+ at c APPLE LOCAL end prune man page
-fvisibility}
@end table
@@ -2854,6 +2862,15 @@
@option{-Wnonnull} is included in @option{-Wall} and @option{-Wformat}. It
can be disabled with the @option{-Wno-nonnull} option.
+ at c APPLE LOCAL begin Wglobal-constructors 6324584
+ at item -Wglobal-constructors
+ at opindex Wglobal-constructors
+Warn about namespace scope data that requires construction or
+destruction, or functions that use the constructor attribute or the
+destructor attribute. Additionally warn if the Objective-C GNU
+runtime is used to initialize various metadata.
+ at c APPLE LOCAL end Wglobal-constructors 6324584
+
@item -Winit-self @r{(C, C++, Objective-C and Objective-C++ only)}
@opindex Winit-self
Warn about uninitialized variables which are initialized with themselves.
@@ -3696,7 +3713,8 @@
Warn if an old-style function definition is used. A warning is given
even if there is a previous prototype.
- at item -Wmissing-prototypes @r{(C only)}
+ at c APPLE LOCAL warn missing prototype 6261539
+ at item -Wmissing-prototypes
@opindex Wmissing-prototypes
Warn if a global function is defined without a previous prototype
declaration. This warning is issued even if the definition itself
@@ -8975,12 +8993,16 @@
@option{-fno-exceptions}, @option{-fno-non-call-exceptions}, @option{-fno-asynchronous-unwind-tables},
@option{-fapple-kext}, @option{-fno-weak} and @option{-fno-rtti} where
applicable. This mode also sets @option{-mno-altivec},
- at c APPLE LOCAL begin 5731065
- at option{-msoft-float} and @option{-mlong-branch} for PowerPC targets
-and @option{-mno-red-zone} on x86_64. Of these, only -msoft-float can
-be changed which is useful in a kext that wishes to use the hardware
-floating point unit.
- at c APPLE LOCAL end 5731065
+ at c APPLE LOCAL begin 5731065 6268204
+ at option{-msoft-float} and @option{-mlong-branch} for PowerPC targets,
+ at option{-mno-red-zone} on x86_64, and @option{-mlong-branch} for ARM
+targets. Of these, only -msoft-float can be changed which is useful in
+a kext that wishes to use the hardware floating point unit.
+ at c APPLE LOCAL end 5731065 6268204
+ at c APPLE LOCAL begin kext weak_import 5935650
+ at option{-dynamic} can be used to override the effects of -static on
+the assembler to enable the use of weak_import.
+ at c APPLE LOCAL end kext weak_import 5935650
@item -mone-byte-bool
@opindex mone-byte-bool
@@ -14212,10 +14234,14 @@
currently only supported by the Java and Fortran front-ends, where
this option defaults to true and false respectively.
+ at c APPLE LOCAL prune man page 5547358
+ at ignore
@item -ftrapv
@opindex ftrapv
This option generates traps for signed overflow on addition, subtraction,
multiplication operations.
+ at c APPLE LOCAL prune man page 5547358
+ at end ignore
@item -fwrapv
@opindex fwrapv
More information about the llvm-commits
mailing list