[llvm-commits] [llvm-gcc-4.2] r59830 - /llvm-gcc-4.2/trunk/gcc/common.opt
Devang Patel
dpatel at apple.com
Fri Nov 21 10:34:59 PST 2008
Author: dpatel
Date: Fri Nov 21 12:34:51 2008
New Revision: 59830
URL: http://llvm.org/viewvc/llvm-project?rev=59830&view=rev
Log:
Accept -flto flag. The gcc driver already interprets this flag appropriately.
Modified:
llvm-gcc-4.2/trunk/gcc/common.opt
Modified: llvm-gcc-4.2/trunk/gcc/common.opt
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/common.opt?rev=59830&r1=59829&r2=59830&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/common.opt (original)
+++ llvm-gcc-4.2/trunk/gcc/common.opt Fri Nov 21 12:34:51 2008
@@ -707,6 +707,13 @@
Common
Does nothing. Preserved for backward compatibility.
+; LLVM LOCAL begin
+; Enable Link Time Optimization
+flto
+Common Report Var(emit_llvm)
+Enable link time optimizaton.
+; LLVM LOCAL end
+
; APPLE LOCAL begin optimization pragmas 3124235/3420242
fmath-errno
Common Report Var(flag_errno_math) Init(1) PerFunc
More information about the llvm-commits
mailing list