This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/35833] [4.3 Regression] Wrong code generated with -ftree-vrp



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-04-05 18:01 -------
Subject: Bug 35833

Author: rguenth
Date: Sat Apr  5 18:01:14 2008
New Revision: 133940

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133940
Log:
2008-04-05  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/35833
        * tree-vrp.c (operand_less_p): Deal with non-INTEGER_CST
        results from fold_binary_to_constant.
        (compare_values_warnv): Likewise.

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

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/torture/pr35833.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_3-branch/gcc/tree-vrp.c


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]