This is the mail archive of the gcc-cvs@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]

r242213 - /branches/ARM/sve-branch/gcc/tree-vrp.c


Author: rsandifo
Date: Fri Nov 11 17:19:51 2016
New Revision: 242213

URL: https://gcc.gnu.org/viewcvs?rev=242213&root=gcc&view=rev
Log:
Add missing int_cst_rangeN checks to tree-vrp.c

The BIT_AND_EXPR handling in extract_range_from_binary_expr_1
was using value_range_constant_singleton without first checking
whether the range was a constant.  The earlier BIT_AND_EXPR
handling was correctly guarded, so this patch uses the same
guards again.

Existing tests showed the need for this once polynomial
constants are added.

Modified:
    branches/ARM/sve-branch/gcc/tree-vrp.c


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