aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-01-18 09:06:13 +0100
committerRichard Biener <rguenther@suse.de>2022-01-18 10:27:56 +0100
commit00dc7877ee02634d4837d024e36b55bef6b9d49c (patch)
treef0a89f33e9515536acaac397db675ba7fd87466f /gcc/function.h
parentff7aeceb6b3a476c3bac66a7f39a5ef4240206fc (diff)
downloadgcc-00dc7877ee02634d4837d024e36b55bef6b9d49c.zip
gcc-00dc7877ee02634d4837d024e36b55bef6b9d49c.tar.gz
gcc-00dc7877ee02634d4837d024e36b55bef6b9d49c.tar.bz2
tree-optimization/104064 - UBSAN issue in vect dataref analysis
Since we order DRs after DR_INIT we know the difference will be positive and thus can avoid signed overflow issues by using unsigned arithmetic to produce the known unsigned result. 2022-01-18 Richard Biener <rguenther@suse.de> PR tree-optimization/104064 * tree-vect-data-refs.cc (vect_analyze_data_ref_accesses): Check DR_INIT fits in a signed HWI, represent the difference from the first DR in unsigned.
Diffstat (limited to 'gcc/function.h')
0 files changed, 0 insertions, 0 deletions