From: Daniel Dunbar Date: Wed, 16 Jun 2010 16:59:17 +0000 (+0000) Subject: Driver: Ignore -ffast-math and -f[no-]finite-math-only. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ccecb72cb8e0a77139526bd090cf8c68ba178cd;p=clang Driver: Ignore -ffast-math and -f[no-]finite-math-only. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106112 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 52fa275a62..7ac04bec9d 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -268,6 +268,8 @@ def fencoding_EQ : Joined<"-fencoding=">, Group; def fexceptions : Flag<"-fexceptions">, Group; def fextdirs_EQ : Joined<"-fextdirs=">, Group; def fhosted : Flag<"-fhosted">, Group; +def ffast_math : Flag<"-ffast-math">, Group; +def ffinite_math_only : Flag<"-ffinite-math-only">, Group; def ffreestanding : Flag<"-ffreestanding">, Group; def fgnu_keywords : Flag<"-fgnu-keywords">, Group; def fgnu_runtime : Flag<"-fgnu-runtime">, Group; @@ -308,6 +310,7 @@ def fno_diagnostics_show_option : Flag<"-fno-diagnostics-show-option">, Group, Group; def fno_eliminate_unused_debug_symbols : Flag<"-fno-eliminate-unused-debug-symbols">, Group; def fno_exceptions : Flag<"-fno-exceptions">, Group; +def fno_finite_math_only : Flag<"-fno-finite-math-only">, Group; def fno_gnu_keywords : Flag<"-fno-gnu-keywords">, Group; def fno_inline_functions : Flag<"-fno-inline-functions">, Group; def fno_inline : Flag<"-fno-inline">, Group;