diff options
author | Richard Henderson <rth@cygnus.com> | 1999-02-25 10:50:07 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-02-25 10:50:07 -0800 |
commit | 056cd572516e35aff4f58939bfcd27e9bdb54d6b (patch) | |
tree | c40d4395ba7f723e699b7690daa4406643948c89 /gcc | |
parent | 10c6276f7b461bfa8305c0e4de2edfd679bb09e5 (diff) | |
download | gcc-056cd572516e35aff4f58939bfcd27e9bdb54d6b.zip gcc-056cd572516e35aff4f58939bfcd27e9bdb54d6b.tar.gz gcc-056cd572516e35aff4f58939bfcd27e9bdb54d6b.tar.bz2 |
gcc.c (default_compilers): Define __FAST_MATH__ when appropriate.
* gcc.c (default_compilers): Define __FAST_MATH__ when appropriate.
* cp/lang-specs.h: Likewise.
* f/lang-specs.h: Likewise.
* objc/lang-specs.h: Likewise.
From-SVN: r25445
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/lang-specs.h | 3 | ||||
-rw-r--r-- | gcc/f/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/f/lang-specs.h | 2 | ||||
-rw-r--r-- | gcc/gcc.c | 6 | ||||
-rw-r--r-- | gcc/objc/lang-specs.h | 3 |
7 files changed, 27 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c68d309..fffa0ca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Feb 25 18:46:26 1999 Richard Henderson <rth@cygnus.com> + + * gcc.c (default_compilers): Define __FAST_MATH__ when appropriate. + * objc/lang-specs.h: Likewise. + Thu Feb 25 16:19:43 1999 Jeffrey A Law (law@cygnus.com) * pa.md (call patterns): Lose unused argument to output_call. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7aa0ff9..b0ef37c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +1999-02-25 Richard Henderson <rth@cygnus.com> + + * lang-specs.h: Define __FAST_MATH__ when appropriate. + 1999-02-24 Mike Stump <mrs@wrs.com> * typeck.c (convert_for_assignment): Allow boolean integral constant diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h index 972d72b..74518b7 100644 --- a/gcc/cp/lang-specs.h +++ b/gcc/cp/lang-specs.h @@ -37,6 +37,7 @@ Boston, MA 02111-1307, USA. */ %{ansi:-trigraphs -D__STRICT_ANSI__} %{!undef:%{!ansi:%p} %P}\ %{!fno-exceptions:-D__EXCEPTIONS}\ %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}} %{trigraphs}\ + %{ffast-math:-D__FAST_MATH__}\ %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\ %i %{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}}\n}\ %{!E:%{!M:%{!MM:cc1plus %i %1 %2\ @@ -47,6 +48,7 @@ Boston, MA 02111-1307, USA. */ %{ansi:-trigraphs -D__STRICT_ANSI__} %{!undef:%{!ansi:%p} %P}\ %{!fno-exceptions:-D__EXCEPTIONS}\ %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}}\ + %{ffast-math:-D__FAST_MATH__}\ %{trigraphs}\ %{!Q:-quiet} -dumpbase %b.cc %{d*} %{m*} %{a}\ %{g*} %{O*} %{W*} %{w} %{pedantic*} %{ansi}\ @@ -66,6 +68,7 @@ Boston, MA 02111-1307, USA. */ %{ansi:-trigraphs -D__STRICT_ANSI__} %{!undef:%{!ansi:%p} %P}\ %{!fno-exceptions:-D__EXCEPTIONS}\ %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}} %{trigraphs}\ + %{ffast-math:-D__FAST_MATH__}\ %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\ %i %{!M:%{!MM:%{!E:%{!pipe:%g.ii}}}}%{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}} |\n", "%{!M:%{!MM:%{!E:cc1plus %{!pipe:%g.ii} %1 %2\ diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index cceb41f..65e502d 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,7 @@ +1999-02-25 Richard Henderson <rth@cygnus.com> + + * lang-specs.h: Define __FAST_MATH__ when appropriate. + 1999-02-25 Craig Burley <craig@jcb-sc.com> * g77.texi: Clarify/index lack of run-time allocation for diff --git a/gcc/f/lang-specs.h b/gcc/f/lang-specs.h index 8e22fed..c8f597e 100644 --- a/gcc/f/lang-specs.h +++ b/gcc/f/lang-specs.h @@ -42,6 +42,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA %{ansi:-trigraphs -$ -D__STRICT_ANSI__}\ %{!undef:%P} -D_LANGUAGE_FORTRAN %{trigraphs} \ %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}} -traditional\ + %{ffast-math:-D__FAST_MATH__}\ %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\ %i %{!M:%{!MM:%{!E:%{!pipe:%g.i}}}}%{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}} |\n", "%{!M:%{!MM:%{!E:f771 %{!pipe:%g.i} %(f771) \ @@ -91,6 +92,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA %{ansi:-trigraphs -$ -D__STRICT_ANSI__} \ %{!undef:%P} -D_LANGUAGE_FORTRAN %{trigraphs} \ %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}} -traditional \ + %{ffast-math:-D__FAST_MATH__}\ %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z \ /dev/null /dev/null \n\ f771 -fnull-version %(f771) \ @@ -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}\ diff --git a/gcc/objc/lang-specs.h b/gcc/objc/lang-specs.h index ad98eaf..50c25f5 100644 --- a/gcc/objc/lang-specs.h +++ b/gcc/objc/lang-specs.h @@ -31,6 +31,7 @@ Boston, MA 02111-1307, USA. */ %{ansi:-trigraphs -D__STRICT_ANSI__}\ %{!undef:%{!ansi:%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}\ @@ -42,6 +43,7 @@ Boston, MA 02111-1307, USA. */ -undef -D__OBJC__ -D__GNUC__=%v1 -D__GNUC_MINOR__=%v2\ %{!undef:%{!ansi:%p} %P} %{trigraphs}\ %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}}\ + %{ffast-math:-D__FAST_MATH__}\ %{!Q:-quiet} -dumpbase %b.m %{d*} %{m*} %{a*}\ %{g*} %{O*} %{W*} %{w} %{pedantic*} %{ansi} \ %{traditional} %{v:-version} %{pg:-p} %{p} %{f*} \ @@ -60,6 +62,7 @@ Boston, MA 02111-1307, USA. */ %{ansi:-trigraphs -D__STRICT_ANSI__}\ %{!undef:%{!ansi:%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}\ |