aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2020-08-10 08:18:13 +0200
committerJan Hubicka <jh@suse.cz>2020-08-10 08:18:13 +0200
commit527bf3bc8db6b6a1c075b0579deea156a55d49b6 (patch)
tree9a0ba41ad3e43ad9dc92ccab372e2edd1981445e /gcc/expr.c
parent5fb34b41a7979c8445ad5a28614a440458fd4285 (diff)
downloadgcc-527bf3bc8db6b6a1c075b0579deea156a55d49b6.zip
gcc-527bf3bc8db6b6a1c075b0579deea156a55d49b6.tar.gz
gcc-527bf3bc8db6b6a1c075b0579deea156a55d49b6.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/expr.c')
0 files changed, 0 insertions, 0 deletions