]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
toplev.c (main): Do not turn on strict aliasing by default.
authorJeffrey A Law <law@cygnus.com>
Thu, 21 Oct 1999 07:01:37 +0000 (07:01 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 21 Oct 1999 07:01:37 +0000 (01:01 -0600)
        * toplev.c (main): Do not turn on strict aliasing by default.
        * invoke.texi: Corresponding changes.
Branch patch only.  Heavy sigh.

From-SVN: r30115

gcc/ChangeLog
gcc/invoke.texi
gcc/toplev.c

index 35d9c62cc9ec2baff3c5bed2f12eef9ba2947e76..d4debbd84da6b20073f49fd4553c14ad7a408634 100644 (file)
@@ -4,6 +4,9 @@ Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
 
 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
 
+       * toplev.c (main): Do not turn on strict aliasing by default.
+       * invoke.texi: Corresponding changes.
+
        * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
        (movdf_const_intreg_sp64): Similarly.
 
index adf167fc0212b58232fa70710ecfdba00be44b5a..230174c036c6ed62c813a79545ff533d8b7cf019 100644 (file)
@@ -2202,10 +2202,10 @@ perform loop unrolling or function inlining when you specify @samp{-O2}.
 As compared to @samp{-O}, this option increases both compilation time
 and the performance of the generated code.
 
-@samp{-O2} turns on all optional optimizations except for loop unrolling
-and function inlining.  It also turns on the @samp{-fforce-mem} option
-on all machines and frame pointer elimination on machines where doing so
-does not interfere with debugging.
+@samp{-O2} turns on all optional optimizations except for loop unrolling,
+function inlining, and strict aliasing optimizations.  It also turns on the
+@samp{-fforce-mem} option on all machines and frame pointer elimination on
+machines where doing so does not interfere with debugging.
 
 @item -O3
 Optimize yet more.  @samp{-O3} turns on all optimizations specified by
@@ -2363,9 +2363,9 @@ math functions.
 @c --mew 26jan93
 The following options control specific optimizations.  The @samp{-O2}
 option turns on all of these optimizations except @samp{-funroll-loops}
-and @samp{-funroll-all-loops}.  On most machines, the @samp{-O} option
-turns on the @samp{-fthread-jumps} and @samp{-fdelayed-branch} options,
-but specific machines may handle it differently.
+@samp{-funroll-all-loops}, and @samp{-fstrict-aliasing}.  On most machines, the
+@samp{-O} option turns on the @samp{-fthread-jumps} and @samp{-fdelayed-branch}
+options, but specific machines may handle it differently.
 
 You can use the following flags in the rare cases when ``fine-tuning''
 of optimizations to be performed is desired.
index 182293058377d16aa904415000936cf9fd7d8404..9dac1fdbd9ce6c644777965a5ae5d31d0105d607 100644 (file)
@@ -4870,7 +4870,6 @@ main (argc, argv)
       flag_schedule_insns_after_reload = 1;
 #endif
       flag_regmove = 1;
-      flag_strict_aliasing = 1;
     }
 
   if (optimize >= 3)