[Bug tree-optimization/31602] Overflow warning causes GDB -Werror build failure

ian at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Apr 24 20:45:00 GMT 2007



------- Comment #5 from ian at gcc dot gnu dot org  2007-04-24 21:44 -------
Subject: Bug 31602

Author: ian
Date: Tue Apr 24 21:44:45 2007
New Revision: 124120

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124120
Log:
./:
        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.

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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31602



More information about the Gcc-bugs mailing list