Hi Jeff,
Thanks for pointing me at Sashiko. I triaged the five findings on
patch 2/2:
VF1 (Medium): real bug in the fallback path of is_use_guarded.
When the definition predicate simplifies to TRUE it guards any
use, but the v1 fallback only checked the superset relation,
which is vacuous for a TRUE predicate, so the conditional-use
case was missed. Fixed in the amended patch: the fallback now
accepts a TRUE definition predicate unconditionally and only
falls back to the superset check for a non-TRUE use predicate.
VF2 (Medium): drop_conjuncts_implied_by can leave empty chains,
but that case is already subsumed by the existing superset_of()
check, so there is no observable behavior difference. Left as-is.
VF3 (Medium): the b_chain leak in simplify_2's ordered_remove is
real, but it predates this patch and is unrelated to 128102. I
can send a one-line fix (b_chain.release() before the removal) as
a separate patch, or file a separate PR, whichever you prefer.
PVF1/PVF2 (Medium/Low): the m_cval inconsistency/caching issues
are also pre-existing; I've noted them as follow-ups and left them
out of this series.
The amended v2 series is bootstrapped and regression-tested on
x86_64-linux-gnu and aarch64-linux-gnu (bootstrap-debug with a clean
stage2/stage3 compare; check-c and check-c++). PR128102's new test,
PR44547 and PR107919 pass on both targets; the remaining unexpected
failures on each target are pre-existing and unrelated.
Thanks,
Sendao