re PR tree-optimization/28230 (-O2 -fwrapv miscompiles gcc, binutils, gzip.)
authorRichard Guenther <rguenther@suse.de>
Wed, 11 Oct 2006 16:05:37 +0000 (16:05 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 11 Oct 2006 16:05:37 +0000 (16:05 +0000)
commit377d569bdb93c48ccb209288dbddf0625e9ee335
treed54ada4cbde7ded1a040c5e4405cf669b2b3c13c
parentd233eb7a05ca704c3d220a555e94c04fa328aee6
re PR tree-optimization/28230 (-O2 -fwrapv miscompiles gcc, binutils, gzip.)

2006-10-11  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/28230
* tree-vrp.c (vrp_int_const_binop): Move flag_wrapv handling
to the correct place.

* gcc.dg/torture/pr28230.c: New testcase.

From-SVN: r117637
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr28230.c [new file with mode: 0644]
gcc/tree-vrp.c