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/52533] [4.8 Regression] ice in remove_range_assertions


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-12 10:04:41 UTC ---
Author: jakub
Date: Mon Mar 12 10:04:34 2012
New Revision: 185219

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185219
Log:
    PR tree-optimization/52533
    * tree-vrp.c (register_edge_assert_for_2): Use double_int
    type for mask, only handle shifts by non-zero in-range
    shift count, for LE_EXPR and GT_EXPR if new_val is
    maximum, don't add the assertion.

    * gcc.c-torture/compile/pr52533.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr52533.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vrp.c


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