From 7ccecb72cb8e0a77139526bd090cf8c68ba178cd Mon Sep 17 00:00:00 2001 From: Daniel Dunbar <daniel@zuster.org> Date: Wed, 16 Jun 2010 16:59:17 +0000 Subject: [PATCH] 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 --- include/clang/Driver/Options.td | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 52fa275a621..7ac04bec9d4 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -268,6 +268,8 @@ def fencoding_EQ : Joined<"-fencoding=">, Group<f_Group>; def fexceptions : Flag<"-fexceptions">, Group<f_Group>; def fextdirs_EQ : Joined<"-fextdirs=">, Group<f_Group>; def fhosted : Flag<"-fhosted">, Group<f_Group>; +def ffast_math : Flag<"-ffast-math">, Group<clang_ignored_f_Group>; +def ffinite_math_only : Flag<"-ffinite-math-only">, Group<clang_ignored_f_Group>; def ffreestanding : Flag<"-ffreestanding">, Group<f_Group>; def fgnu_keywords : Flag<"-fgnu-keywords">, Group<f_Group>; def fgnu_runtime : Flag<"-fgnu-runtime">, Group<f_Group>; @@ -308,6 +310,7 @@ def fno_diagnostics_show_option : Flag<"-fno-diagnostics-show-option">, Group<f_ def fno_dollars_in_identifiers : Flag<"-fno-dollars-in-identifiers">, Group<f_Group>; def fno_eliminate_unused_debug_symbols : Flag<"-fno-eliminate-unused-debug-symbols">, Group<f_Group>; def fno_exceptions : Flag<"-fno-exceptions">, Group<f_Group>; +def fno_finite_math_only : Flag<"-fno-finite-math-only">, Group<clang_ignored_f_Group>; def fno_gnu_keywords : Flag<"-fno-gnu-keywords">, Group<f_Group>; def fno_inline_functions : Flag<"-fno-inline-functions">, Group<clang_ignored_f_Group>; def fno_inline : Flag<"-fno-inline">, Group<clang_ignored_f_Group>; -- GitLab