> On 7 Nov 2019, at 15:24, Hans Wennborg <h...@chromium.org> wrote: > > Looking at LLVM's -print-after-all shows a diff after GVN which seems > to come from this if-statement in tests/mpn/t-sqrlo.c: > > if (pp[-1] != p_before || pp[n] != p_after > || scratch[-1] != s_before || scratch[itch] != s_after > || mpn_cmp (refp, pp, n) != 0) > { > > It looks like the "scratch[-1] != s_before" expression was previously > folded to false, but now it's folded to undef (and the branch ends up > going the other way). That matches the commit message from the > bisection.
GMP bugs may be reported to their bug list, and the UBSan might be strengthened to capture this. _______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users