https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114359

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alexandre Oliva <aol...@gcc.gnu.org>:

https://gcc.gnu.org/g:9b8c3e622c7cd4ea393f59b873c3107767e1ba88

commit r15-1301-g9b8c3e622c7cd4ea393f59b873c3107767e1ba88
Author: Alexandre Oliva <ol...@adacore.com>
Date:   Thu Jun 13 20:10:55 2024 -0300

    [libstdc++] [testsuite] require cmath for [PR114359]

    When !_GLIBCXX_USE_C99_MATH_TR1, binomial_distribution doesn't use the
    optimized algorithm that was fixed in response to PR114359.  Without
    that optimized algorithm, operator() ends up looping very very long
    for the test, to the point that it would time out by several orders of
    magnitude, without even exercising the optimized algorithm that we're
    testing for regressions.  Arrange for the test to be skipped if that
    bit won't be exercised.


    for  libstdc++-v3/ChangeLog

            PR libstdc++/114359
            * testsuite/26_numerics/random/binomial_distribution/114359.cc:
            Require cmath.

Reply via email to