This is the mail archive of the
mailing list for the GCC project.
r242213 - /branches/ARM/sve-branch/gcc/tree-vrp.c
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Nov 2016 17:19:51 -0000
- Subject: r242213 - /branches/ARM/sve-branch/gcc/tree-vrp.c
Date: Fri Nov 11 17:19:51 2016
New Revision: 242213
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
Existing tests showed the need for this once polynomial
constants are added.