commit: 54c716b6fce290b84871acc99da8dd8d28392069 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Jan 27 18:54:08 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Jan 27 18:54:08 2026 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=54c716b6
16.0.0: drop obsolete patch Honza has pushed an alternative Signed-off-by: Sam James <sam <AT> gentoo.org> 16.0.0/gentoo/87_all_PR123619-ipa-cp.patch | 81 ------------------------------ 16.0.0/gentoo/README.history | 1 + 2 files changed, 1 insertion(+), 81 deletions(-) diff --git a/16.0.0/gentoo/87_all_PR123619-ipa-cp.patch b/16.0.0/gentoo/87_all_PR123619-ipa-cp.patch deleted file mode 100644 index a3df1c4..0000000 --- a/16.0.0/gentoo/87_all_PR123619-ipa-cp.patch +++ /dev/null @@ -1,81 +0,0 @@ -https://gcc.gnu.org/PR123587 -https://gcc.gnu.org/PR123619 -https://gcc.gnu.org/pipermail/gcc-patches/2025-December/702974.html ---- a/gcc/cgraph.h -+++ b/gcc/cgraph.h -@@ -1684,8 +1684,11 @@ public: - - /* Return TRUE if context is fully useless. */ - bool useless_p () const; -- /* Return TRUE if this context conveys the same information as X. */ -- bool equal_to (const ipa_polymorphic_call_context &x) const; -+ /* Return TRUE if this context conveys the same information as X. If -+ STRICT_SPECULATION is true, compare the speculative part even when it is -+ inconsistent. */ -+ bool equal_to (const ipa_polymorphic_call_context &x, -+ bool strict_speculation = false) const; - - /* Dump human readable context to F. If NEWLINE is true, it will be - terminated by a newline. */ ---- a/gcc/ipa-cp.cc -+++ b/gcc/ipa-cp.cc -@@ -2026,7 +2026,7 @@ static bool - values_equal_for_ipcp_p (ipa_polymorphic_call_context x, - ipa_polymorphic_call_context y) - { -- return x.equal_to (y); -+ return x.equal_to (y, true); - } - - ---- a/gcc/ipa-polymorphic-call.cc -+++ b/gcc/ipa-polymorphic-call.cc -@@ -2368,11 +2368,13 @@ ipa_polymorphic_call_context::possible_dynamic_type_change (bool in_poly_cdtor, - maybe_in_construction = true; - } - --/* Return TRUE if this context conveys the same information as OTHER. */ -+/* Return TRUE if this context conveys the same information as X. If -+ STRICT_SPECULATION is true, compare the speculative part even when it is -+ inconsistent. */ - - bool - ipa_polymorphic_call_context::equal_to -- (const ipa_polymorphic_call_context &x) const -+(const ipa_polymorphic_call_context &x, bool strict_speculation) const - { - if (useless_p ()) - return x.useless_p (); -@@ -2397,8 +2399,11 @@ ipa_polymorphic_call_context::equal_to - - - if (speculative_outer_type -- && speculation_consistent_p (speculative_outer_type, speculative_offset, -- speculative_maybe_derived_type, NULL_TREE)) -+ && (strict_speculation -+ || speculation_consistent_p (speculative_outer_type, -+ speculative_offset, -+ speculative_maybe_derived_type, -+ NULL_TREE))) - { - if (!x.speculative_outer_type) - return false; -@@ -2412,10 +2417,11 @@ ipa_polymorphic_call_context::equal_to - return false; - } - else if (x.speculative_outer_type -- && x.speculation_consistent_p (x.speculative_outer_type, -- x.speculative_offset, -- x.speculative_maybe_derived_type, -- NULL)) -+ && (strict_speculation -+ || x.speculation_consistent_p (x.speculative_outer_type, -+ x.speculative_offset, -+ x.speculative_maybe_derived_type, -+ NULL))) - return false; - - return true; --- -2.51.1 - diff --git a/16.0.0/gentoo/README.history b/16.0.0/gentoo/README.history index c03a2a9..bfbe4c0 100644 --- a/16.0.0/gentoo/README.history +++ b/16.0.0/gentoo/README.history @@ -1,5 +1,6 @@ 35 ???? + - 87_all_PR123619-ipa-cp.patch - 88_all_PR123657.patch - 89_all_selftest.patch
