re PR tree-optimization/31602 (Overflow warning causes GDB -Werror build failure)
authorIan Lance Taylor <iant@google.com>
Tue, 24 Apr 2007 20:44:45 +0000 (20:44 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 24 Apr 2007 20:44:45 +0000 (20:44 +0000)
commit4df28528f69a4400fed72d69792fc043d1ebd826
tree99bf754860728790f12fd6d1c13768b33b045464
parent7c4a92651592752bb73c2f672f3fa358b6839c1f
re PR tree-optimization/31602 (Overflow warning causes GDB -Werror build failure)

./: PR tree-optimization/31602
* tree-ssa-loop-ch.c (copy_loop_headers): Set TREE_NO_WARNING for
conditionals in the copied loop header.
* tree-cfg.c (fold_cond_expr_cond): Don't issue undefined overflow
warnings if TREE_NO_WARNING is set.
* doc/invoke.texi (Warning Options): Clarify that
-Wstrict-overflow does not warn about loops.
testsuite/:
PR tree-optimization/31602
* gcc.dg/Wstrict-overflow-11.c: We no longer issue a warning.

From-SVN: r124120
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wstrict-overflow-11.c
gcc/tree-cfg.c
gcc/tree-ssa-loop-ch.c