This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/22493] [4.1 Regression] with -fwrapv -INT_MIN is still not positive
- From: "phython at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2005 07:15:14 -0000
- Subject: [Bug tree-optimization/22493] [4.1 Regression] with -fwrapv -INT_MIN is still not positive
- References: <20050714184800.22493.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From phython at gcc dot gnu dot org 2005-07-19 07:15 -------
The attached patch, with the typo fixed and using
int_const_binop (PLUS_EXPR, vr0.min, one, 0) fixed the optimization failures of
Divide_1 in the testsuite.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22493