https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105844
--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:ad076469c00af1fbe2f848844ab5937587772a70 commit r11-10740-gad076469c00af1fbe2f848844ab5937587772a70 Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed May 3 16:05:23 2023 +0100 libstdc++: Fix broken backport for std::lcm [PR105844] The backport for gcc-11 was incomplete and should have replaced all uses of std::__is_constant_evaluated with __builtin_is_constant_evaluated. We also need to prune some additional output for the new tests, because the r12-4425-g1595fe44e11a96 change to always prune those lines is not present on the branch. libstdc++-v3/ChangeLog: PR libstdc++/105844 * include/experimental/numeric (lcm): Use built-in instead of __is_constant_evaluated. * include/std/numeric (__abs_r, lcm): Likewise. * testsuite/26_numerics/gcd/105844.cc: Add dg-prune-output. * testsuite/26_numerics/lcm/105844.cc: Likewise.