[Bug tree-optimization/43017] [4.5 Regression] VRP miscompiles python with -fwrapv, II

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 10 16:52:00 GMT 2010



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-02-10 16:52 -------
Subject: Bug 43017

Author: rguenth
Date: Wed Feb 10 16:52:07 2010
New Revision: 156666

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156666
Log:
2010-02-10  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/43017
        * tree-vrp.c (vrp_int_const_binop): Trust int_const_binop
        for wrapping signed arithmetic.

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

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr43017.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vrp.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43017



More information about the Gcc-bugs mailing list