Commit 621b5ed6 by Richard Guenther Committed by Richard Biener

re PR middle-end/34973 (Wno-strict-aliasing is not working)

2008-05-03  Richard Guenther  <rguenther@suse.de>

	PR middle-end/34973
	* opts.c (set_Wstrict_aliasing): Handle the turn-off case.

From-SVN: r134903
parent d18b52aa
2008-05-03 Richard Guenther <rguenther@suse.de>
PR middle-end/34973
* opts.c (set_Wstrict_aliasing): Handle the turn-off case.
2008-05-02 David S. Miller <davem@davemloft.net>
* config.gcc (need_64bit_hwint): Document libcpp dependency.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment