diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-03 15:28:57 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-03 15:28:57 +0000 |
commit | e629070d3fd75dc31e4483e220525129f17a76e8 (patch) | |
tree | 46ebf0ebf66b48a227dcd0201a96db6568d16b66 /gcc/opts.c | |
parent | 4c2411d11eed5cca5d8e979a2c31a1c7ba65d946 (diff) | |
download | gcc-e629070d3fd75dc31e4483e220525129f17a76e8.tar.gz |
2008-05-03 Richard Guenther <rguenther@suse.de>
PR middle-end/34973
* opts.c (set_Wstrict_aliasing): Handle the turn-off case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134903 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/opts.c b/gcc/opts.c index b87bc562e5a..a5931f45a99 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -1982,6 +1982,8 @@ set_Wstrict_aliasing (int onoff) gcc_assert (onoff == 0 || onoff == 1); if (onoff != 0) warn_strict_aliasing = 3; + else + warn_strict_aliasing = 0; } /* The following routines are useful in setting all the flags that |