r216966 - in /branches/gcc-4_9-branch/gcc: Chan...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Oct 31 11:33:00 GMT 2014


Author: jakub
Date: Fri Oct 31 11:33:13 2014
New Revision: 216966

URL: https://gcc.gnu.org/viewcvs?rev=216966&root=gcc&view=rev
Log:
	PR sanitizer/63697
	* tree-vrp.c (simplify_internal_call_using_ranges): For subcode ==
	MINUS_EXPR, check overflow on vr0.min - vr1.max and vr0.max - vr1.min
	instead of vr0.min - vr1.min and vr0.max - vr1.max.

	* c-c++-common/ubsan/overflow-sub-3.c: New test.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/ubsan/overflow-sub-3.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_9-branch/gcc/tree-vrp.c



More information about the Gcc-cvs mailing list