This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r125335 - in /branches/gcc-4_2-branch/gcc: Chan...
- From: ian at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 05 Jun 2007 13:19:00 -0000
- Subject: r125335 - in /branches/gcc-4_2-branch/gcc: Chan...
Author: ian
Date: Tue Jun 5 13:18:59 2007
New Revision: 125335
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125335
Log:
./:
* tree-vrp.c (compare_values_warnv): Check TREE_NO_WARNING on a
PLUS_EXPR or MINUS_EXPR node before setting *strict_overflow_p.
(extract_range_from_assert): Set TREE_NO_WARNING when creating an
expression.
(test_for_singularity): Likewise.
testsuite/:
* gcc.dg/Wstrict-overflow-19.c: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/Wstrict-overflow-19.c
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
branches/gcc-4_2-branch/gcc/tree-vrp.c