aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-02-10 09:03:48 +0100
committerRichard Biener <rguenther@suse.de>2022-02-10 10:54:43 +0100
commit1b72d456b2a88218ed440655ef0b9e29b4ef63a9 (patch)
treeb4db4575f2f31e630c0bd867df3b0ea04e07c64a /gcc/function.cc
parent19a13d5a1d695465b3c3905b7c8ec888add1a39e (diff)
downloadgcc-1b72d456b2a88218ed440655ef0b9e29b4ef63a9.zip
gcc-1b72d456b2a88218ed440655ef0b9e29b4ef63a9.tar.gz
gcc-1b72d456b2a88218ed440655ef0b9e29b4ef63a9.tar.bz2
tree-optimization/104466 - fix cut&paste error perventing alias disambiguation
The following fixes a cut&paste error in disambiguating using restrict info. Instead of using the for this purpose computed rbase1/rbase2 which preserve MEM_REF bases even when they are based on a decl the code performs the check on the bases that drop info for those ... 2022-02-10 Richard Biener <rguenther@suse.de> PR tree-optimization/104466 * tree-ssa-alias.cc (refs_may_alias_p_2): Use rbase1/rbase2 for the MR_DEPENDENCE checks as intended. * gfortran.dg/pr104466.f90: New testcase.
Diffstat (limited to 'gcc/function.cc')
0 files changed, 0 insertions, 0 deletions