diff options
author | Richard Biener <rguenther@suse.de> | 2020-05-07 14:06:02 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2020-12-01 15:00:30 +0100 |
commit | 3114be1ceb750f323a13dad0a419a7622bd71fbe (patch) | |
tree | ef4d674558f10d034200f741fc3dc00459a06614 /gcc/tree-ssa-loop-unswitch.c | |
parent | 1cd95acac5a521937b205ace0db3f1a042561dd8 (diff) | |
download | gcc-3114be1ceb750f323a13dad0a419a7622bd71fbe.zip gcc-3114be1ceb750f323a13dad0a419a7622bd71fbe.tar.gz gcc-3114be1ceb750f323a13dad0a419a7622bd71fbe.tar.bz2 |
ipa/94947 - avoid using externally_visible_p ()
externally_visible_p wasn't the correct predicate to use (even if it
worked), instead we should use DECL_EXTERNAL || TREE_PUBLIC.
2020-05-07 Richard Biener <rguenther@suse.de>
PR ipa/94947
* tree-ssa-structalias.c (refered_from_nonlocal_fn): Use
DECL_EXTERNAL || TREE_PUBLIC instead of externally_visible.
(refered_from_nonlocal_var): Likewise.
(ipa_pta_execute): Likewise.
(cherry picked from commit b9250b3cb91b667cd67943e0fac94bf39ac089a8)
Diffstat (limited to 'gcc/tree-ssa-loop-unswitch.c')
0 files changed, 0 insertions, 0 deletions