re PR tree-optimization/48228 (incorrect signed overflow warning when only 0 and...
authorRichard Guenther <rguenther@suse.de>
Tue, 22 Mar 2011 12:40:09 +0000 (12:40 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 22 Mar 2011 12:40:09 +0000 (12:40 +0000)
commit7bec30e1097eacc991e358cc7a97b6b22f611a31
tree824eb6fe401f7e31b326b3f9e241700f0ecfbc54
parent0b7e851b85afb78125a8cce3f5f0bf332124541f
re PR tree-optimization/48228 (incorrect signed overflow warning when only 0 and 1 are used)

2011-03-22  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/48228
* tree-vrp.c (vrp_visit_phi_node): Do not stop propagating
for single-arg PHIs.

* gcc.dg/Wstrict-overflow-23.c: New testcase.

From-SVN: r171287
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wstrict-overflow-23.c [new file with mode: 0644]
gcc/tree-vrp.c