diff options
| author | Josef Melcr <josef.melcr@suse.com> | 2025-11-20 23:46:38 +0100 |
|---|---|---|
| committer | Josef Melcr <josef.melcr@suse.com> | 2025-11-21 09:17:20 +0100 |
| commit | 0343c45a3387ac5e1e365c97e56ea8305ba67016 (patch) | |
| tree | e469ed991c822a58d49591fea59029b27b44906e /libjava/classpath/java/io/UnsupportedEncodingException.java | |
| parent | cabfea3350ac55de8697bebf99a1456e2be4172c (diff) | |
ipa: Rewrite callback_edge_useful_p heuristic.
This function is used to determine whether a callback edge should be
kept or not. It was supposed to capture the idea that a callback edge
has been redirected at some point, however, it only considered
redirecting to some clone. However, an edge may not always be
redirected to a clone. For example, common function bodies produced by
icf are not clones. This version of this function should cover all
cases, at least for the time being.
gcc/ChangeLog:
PR ipa/122768
* attr-callback.cc (callback_edge_useful_p): Rewrite the
heuristic, now consider clones as well as icf bodies.
Signed-off-by: Josef Melcr <josef.melcr@suse.com>
Diffstat (limited to 'libjava/classpath/java/io/UnsupportedEncodingException.java')
0 files changed, 0 insertions, 0 deletions
