diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-02-25 18:50:07 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-02-25 18:50:07 +0000 |
commit | d24d52c1743e7b095d874e6895e2d744b4f0c3d3 (patch) | |
tree | c40d4395ba7f723e699b7690daa4406643948c89 /gcc/gcc.c | |
parent | b10b6b4916d15d74b9ed25b76553cbe1b918866f (diff) | |
download | ppe42-gcc-d24d52c1743e7b095d874e6895e2d744b4f0c3d3.tar.gz ppe42-gcc-d24d52c1743e7b095d874e6895e2d744b4f0c3d3.zip |
* gcc.c (default_compilers): Define __FAST_MATH__ when appropriate.
* cp/lang-specs.h: Likewise.
* f/lang-specs.h: Likewise.
* objc/lang-specs.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25445 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c index d269395dc98..f6873c1bc5d 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -588,6 +588,7 @@ static struct compiler default_compilers[] = %{ansi|std=*:%{!std=gnu*:-trigraphs -D__STRICT_ANSI__}}\ %{!undef:%{!ansi:%{!std=*:%p}%{std=gnu*:%p}} %P} %{trigraphs}\ %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}}\ + %{ffast-math:-D__FAST_MATH__}\ %{traditional} %{ftraditional:-traditional}\ %{traditional-cpp:-traditional}\ %{fleading-underscore} %{fno-leading-underscore}\ @@ -601,6 +602,7 @@ static struct compiler default_compilers[] = %{ansi|std=*:%{!std=gnu*:-trigraphs -D__STRICT_ANSI__}}\ %{!undef:%{!ansi:%{!std=*:%p}%{std=gnu*:%p}} %P} %{trigraphs}\ %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}}\ + %{ffast-math:-D__FAST_MATH__}\ %{H} %C %{D*} %{U*} %{i*} %Z\ %{ftraditional:-traditional}\ %{traditional-cpp:-traditional}\ @@ -623,6 +625,7 @@ static struct compiler default_compilers[] = %{ansi|std=*:%{!std=gnu*:-trigraphs -D__STRICT_ANSI__}}\ %{!undef:%{!ansi:%{!std=*:%p}%{std=gnu*:%p}} %P} %{trigraphs}\ %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}}\ + %{ffast-math:-D__FAST_MATH__}\ %{traditional} %{ftraditional:-traditional}\ %{traditional-cpp:-traditional}\ %{fleading-underscore} %{fno-leading-underscore}\ @@ -650,6 +653,7 @@ static struct compiler default_compilers[] = %{ansi|std=*:%{!std=gnu*:-trigraphs -D__STRICT_ANSI__}}\ %{!undef:%{!ansi:%{!std=*:%p}%{std=gnu*:%p}} %P} %{trigraphs}\ %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}}\ + %{ffast-math:-D__FAST_MATH__}\ %{traditional} %{ftraditional:-traditional}\ %{traditional-cpp:-traditional}\ %{fleading-underscore} %{fno-leading-underscore}\ @@ -666,6 +670,7 @@ static struct compiler default_compilers[] = %{std=*:%{!std=gnu*:-trigraphs -D__STRICT_ANSI__}}\ %{!undef:%{!std=*:%p}%{std=gnu*:%p} %P} %{trigraphs}\ %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}}\ + %{ffast-math:-D__FAST_MATH__}\ %{traditional} %{ftraditional:-traditional}\ %{traditional-cpp:-traditional}\ %{fleading-underscore} %{fno-leading-underscore}\ @@ -694,6 +699,7 @@ static struct compiler default_compilers[] = %{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG} %{trigraphs}\ -undef -$ %{!undef:%p %P} -D__ASSEMBLER__ \ %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}}\ + %{ffast-math:-D__FAST_MATH__}\ %{traditional} %{ftraditional:-traditional}\ %{traditional-cpp:-traditional}\ %{fleading-underscore} %{fno-leading-underscore}\ |