summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-08-17 08:18:17 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-08-17 08:18:17 +0000
commit1d74d3b17c80f7b9ef895fbc41eb0f38ea47e1df (patch)
tree3eef344cc5285c8ca392b15c163ac53e9c6b7092 /gcc/toplev.c
parent210fd9884daf299f6359c216bc5d1c79e38222b8 (diff)
downloadgcc-1d74d3b17c80f7b9ef895fbc41eb0f38ea47e1df.tar.gz
* toplev.c (main): Enable -fstrict-aliasing for -O2 and above.
* invoke.texi: Corresponding changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21777 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 63e85aa3a83..dba8d2f5b2a 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -4290,9 +4290,7 @@ main (argc, argv, envp)
flag_schedule_insns_after_reload = 1;
#endif
flag_regmove = 1;
- /* We don't set flag_strict_aliasing here because we're still
- testing the functionality. After it has been tested, it
- should be turned on here. */
+ flag_strict_aliasing = 1;
}
if (optimize >= 3)