OSDN Git Service

2010-05-01 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 May 2010 21:30:26 +0000 (21:30 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 04:56:50 +0000 (13:56 +0900)
commit237f60a24660dc60960516136379f5354b821487
treea7241778c933e1523e28f6e980b95f3fdb4baad0
parentd6c93c110e6feeba8517e3b257fd3c0ff11c3743
2010-05-01  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/43949
* tree-vrp.c (ssa_name_nonnegative_p): Return true for unsigned
types.
(extract_range_from_binary_expr): Handle *_MOD_EXPR.

* g++.dg/warn/Warray-bounds-5.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158965 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/tree-vrp.c