diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-10-21 07:01:37 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-10-21 01:01:37 -0600 |
commit | cb642a0dd6c448a511dab2f0083ecfbbe8726c32 (patch) | |
tree | c59a485b1d3e9f45e4a72045ba798df4c3bb958f | |
parent | 8e76cd45cdc5777ad7234cb660cdb3a86a9067d2 (diff) | |
download | gcc-cb642a0dd6c448a511dab2f0083ecfbbe8726c32.zip gcc-cb642a0dd6c448a511dab2f0083ecfbbe8726c32.tar.gz gcc-cb642a0dd6c448a511dab2f0083ecfbbe8726c32.tar.bz2 |
toplev.c (main): Do not turn on strict aliasing by default.
* toplev.c (main): Do not turn on strict aliasing by default.
* invoke.texi: Corresponding changes.
Branch patch only. Heavy sigh.
From-SVN: r30115
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/invoke.texi | 14 | ||||
-rw-r--r-- | gcc/toplev.c | 1 |
3 files changed, 10 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 35d9c62..d4debbd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/invoke.texi b/gcc/invoke.texi index adf167f..230174c 100644 --- a/gcc/invoke.texi +++ b/gcc/invoke.texi @@ -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. diff --git a/gcc/toplev.c b/gcc/toplev.c index 1822930..9dac1fd 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -4870,7 +4870,6 @@ main (argc, argv) flag_schedule_insns_after_reload = 1; #endif flag_regmove = 1; - flag_strict_aliasing = 1; } if (optimize >= 3) |