aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/interface.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-07-26 11:02:13 +0200
committerRichard Biener <rguenther@suse.de>2022-07-26 12:08:50 +0200
commit67248ad043b366d30e97cb6c192593057e798805 (patch)
treee2188f8defe1f61110eaff43e9e4ff19a73bf298 /gcc/fortran/interface.cc
parentc906efc700dafe7d30e8b35895f43862ddf7dc8e (diff)
downloadgcc-67248ad043b366d30e97cb6c192593057e798805.zip
gcc-67248ad043b366d30e97cb6c192593057e798805.tar.gz
gcc-67248ad043b366d30e97cb6c192593057e798805.tar.bz2
Improve ptr_derefs_may_alias_p for the case of &STRING_CST
When the first pointer happens to be a pointer to a STRING_CST we give up too early since the 2nd pointer handling could still end up with a DECL for example which can disambiguate against a STRING_CST just fine. * tree-ssa-alias.cc (ptr_derefs_may_alias_p): If ptr1 points to a constant continue checking ptr2.
Diffstat (limited to 'gcc/fortran/interface.cc')
0 files changed, 0 insertions, 0 deletions