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

--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by David Malcolm <dmalc...@gcc.gnu.org>:

https://gcc.gnu.org/g:4574f15bb305204fb615756148da8f214156c787

commit r15-5575-g4574f15bb305204fb615756148da8f214156c787
Author: David Malcolm <dmalc...@redhat.com>
Date:   Thu Nov 21 14:36:23 2024 -0500

    json parsing: avoid relying on floating point equality [PR117677]

    gcc/ChangeLog:
            PR bootstrap/117677
            * json-parsing.cc (selftest::test_parse_number): Replace
            ASSERT_EQ of 'double' values with ASSERT_NEAR.  Eliminate
            ASSERT_PRINT_EQ for such values.
            * selftest.h (ASSERT_NEAR): New.
            (ASSERT_NEAR_AT): New.

    Signed-off-by: David Malcolm <dmalc...@redhat.com>

Reply via email to