aboutsummaryrefslogtreecommitdiff
path: root/libcpp/line-map.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-10-15 10:29:53 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-10-15 10:29:53 +0000
commit0186d373b63c998f0a1c911bdf76c7675f7708de (patch)
tree2a8099bd84eee1438551c237f5d4ed2569a75377 /libcpp/line-map.c
parent0d552c1b67132b349ec77f725ceb1568d72c6134 (diff)
downloadgcc-0186d373b63c998f0a1c911bdf76c7675f7708de.zip
gcc-0186d373b63c998f0a1c911bdf76c7675f7708de.tar.gz
gcc-0186d373b63c998f0a1c911bdf76c7675f7708de.tar.bz2
Fix unchecked use of tree_to_uhwi in tree-ssa-strlen.c
r273783 introduced an unchecked use of tree_to_uhwi. This is tested by the SVE ACLE patches, but could potentially trigger in non-SVE cases too. 2019-10-15 Richard Sandiford <richard.sandiford@arm.com> gcc/ * tree-ssa-strlen.c (count_nonzero_bytes): Check tree_fits_uhwi_p before using tree_to_uhwi. From-SVN: r276990
Diffstat (limited to 'libcpp/line-map.c')
0 files changed, 0 insertions, 0 deletions