aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/misc.cc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2024-10-24 14:22:34 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2024-10-24 14:22:34 +0100
commitb02503d3fe79778ccc149b0abbc736f7972603da (patch)
tree488f7ecac9b362388ec22243000eca0fc6754332 /gcc/fortran/misc.cc
parentaf19e46c88fd75e31127cde239b8f28d8f9c4040 (diff)
downloadgcc-b02503d3fe79778ccc149b0abbc736f7972603da.zip
gcc-b02503d3fe79778ccc149b0abbc736f7972603da.tar.gz
gcc-b02503d3fe79778ccc149b0abbc736f7972603da.tar.bz2
Record nonzero bits in the irange_bitmask of POLY_INT_CSTs
At the moment, ranger punts entirely on POLY_INT_CSTs. Numerical ranges are a bit difficult, unless we do start modelling bounds on the indeterminates. But we can at least track the nonzero bits. gcc/ * value-query.cc (range_query::get_tree_range): Use get_nonzero_bits to populate the irange_bitmask of a POLY_INT_CST. gcc/testsuite/ * gcc.target/aarch64/sve/cnt_fold_6.c: New test.
Diffstat (limited to 'gcc/fortran/misc.cc')
0 files changed, 0 insertions, 0 deletions