[Bug tree-optimization/84321] [8 Regression] ice in intersect_range_with_nonzero_bits, at tree-vrp.c:213
law at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 13 15:50:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84321
--- Comment #14 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Tue Feb 13 15:48:38 2018
New Revision: 257629
URL: https://gcc.gnu.org/viewcvs?rev=257629&root=gcc&view=rev
Log:
2018-02-12 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
PR tree-optimization/84321
* tree-vrp.c (intersect_range_with_nonzero_bits): Fix VR_ANTI_RANGE
handling. Also check whether the anti-range contains any values
that satisfy the mask; switch to a VR_RANGE if not.
gcc/testsuite/
PR tree-optimization/84321
* gcc.dg/pr84321.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr84321.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vrp.c
More information about the Gcc-bugs
mailing list