gcc.c (default_compilers): Define __FAST_MATH__ when appropriate.
authorRichard Henderson <rth@cygnus.com>
Thu, 25 Feb 1999 18:50:07 +0000 (10:50 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 25 Feb 1999 18:50:07 +0000 (10:50 -0800)
        * 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

gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/lang-specs.h
gcc/f/ChangeLog
gcc/f/lang-specs.h
gcc/gcc.c
gcc/objc/lang-specs.h

index c68d30930c2948d70ffb64ce533864f97e65d82d..fffa0caefdefc8ff16aaab1809bd9724c083e6aa 100644 (file)
@@ -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.
index 7aa0ff958159827dd6f9ea6e555ba611431155c1..b0ef37caafeb333203a29c252c5854658367e7f6 100644 (file)
@@ -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
index 972d72bf551d68d1bb1dda5736672cd3c632972a..74518b7ab7c3f9cdfea73c0b316b87c2ebc22ec4 100644 (file)
@@ -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\
index cceb41f19fe25caff7495e26fdbb16b85b495a45..65e502d5d147cae874ad3beb8e3a7bf07d100745 100644 (file)
@@ -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
index 8e22fededb092463b2d79e8bb7c0a91bbd04be72..c8f597e7531aca62b482f56a3395e6b5b0ab926c 100644 (file)
@@ -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) \
index d269395dc98738d40534d14ceaca3a8a9d1a0118..f6873c1bc5d72d9d408c226c5e2ae2941a05445b 100644 (file)
--- 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}\
index ad98eafccb9f40965d33c8d7aa7a0a9f9481e6c1..50c25f5d2ef5884f6791c3876a0df7f9dd6b59f1 100644 (file)
@@ -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}\