aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constexpr.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2020-08-10 08:18:13 +0200
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 15:07:53 -0300
commit591eafbbd417338c4485d292b937da222ca5846e (patch)
tree33cf2da00be92597e4115ea24795b2cf1f01f3be /gcc/cp/constexpr.c
parent19f2a30b110c40142a7f108e45fbeb28ec0a9fae (diff)
downloadgcc-591eafbbd417338c4485d292b937da222ca5846e.zip
gcc-591eafbbd417338c4485d292b937da222ca5846e.tar.gz
gcc-591eafbbd417338c4485d292b937da222ca5846e.tar.bz2
Fix remove_predictions_associated_with_edge
remove_predictions_associated_with_edge currently calls filter_predicitons passing it equal_edge_p. Becase filter_predictions removes all edges where filter returns false, the function does exact oposite. Fixed thus. Bootstrapped/regtested x86_64-linux. gcc/ChangeLog: 2020-08-02 Jan Hubicka <hubicka@ucw.cz> * predict.c (filter_predictions): Document semantics of filter. (equal_edge_p): Rename to ... (not_equal_edge_p): ... this; reverse semantics. (remove_predictions_associated_with_edge): Fix.
Diffstat (limited to 'gcc/cp/constexpr.c')
0 files changed, 0 insertions, 0 deletions