aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/intrinsic.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2018-01-04 19:13:55 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2018-01-04 19:13:55 +0000
commit1e678f69f7dc995a55d2cf0b4a10ffce88c0f776 (patch)
treef8dd5a96b205ed25febcde0f5b42ffbbf44a7a00 /gcc/fortran/intrinsic.c
parent682820ccf9880204310cef67a7bfb2f9923bb702 (diff)
downloadgcc-1e678f69f7dc995a55d2cf0b4a10ffce88c0f776.zip
gcc-1e678f69f7dc995a55d2cf0b4a10ffce88c0f776.tar.gz
gcc-1e678f69f7dc995a55d2cf0b4a10ffce88c0f776.tar.bz2
Protect second call to extract_range_from_multiplicative_op_1
Following on from: * tree-vrp.c (extract_range_from_multiplicative_op_1): Assert for VR_RANGE only; don't allow VR_ANTI_RANGE. (extract_range_from_binary_expr_1): Don't call extract_range_from_multiplicative_op_1 if !range_int_cst_p. there was a later call to extract_range_from_multiplicative_op_1 too, that used a negative test for a symbolic (!is_gimple_min_invariant) range rather than a positive test for an integer range. 2017-11-04 Richard Sandiford <richard.sandiford@linaro.org> gcc/ * tree-vrp.c (extract_range_from_binary_expr_1): Check range_int_cst_p rather than !symbolic_range_p before calling extract_range_from_multiplicative_op_1. From-SVN: r256262
Diffstat (limited to 'gcc/fortran/intrinsic.c')
0 files changed, 0 insertions, 0 deletions