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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <[email protected]>:

https://gcc.gnu.org/g:cfb32cfde28b8ec0edfcd898dff16c5faa1eae1a

commit r17-1860-gcfb32cfde28b8ec0edfcd898dff16c5faa1eae1a
Author: Jakub Jelinek <[email protected]>
Date:   Thu Jun 25 18:15:00 2026 +0200

    c++: Add tests for C++29 P3899R3 - Clarify the behavior of floating-point
overflow [PR125824]

    As the P3899R3 paper says, it standardizes the GCC 15 behavior.

    The following patch adds tests from the paper.
    On the second test it seems to report the expected diagnostics
    starting with PR104389 fix, so I think in cxx-status.html we should
    say it is supported since GCC 12.  The first test obviously needs
    at least GCC 13 because it uses the extended floating point types.

    2026-06-25  Jakub Jelinek  <[email protected]>

            PR c++/125824
            * lib/target-supports.exp
            (check_effective_target_flt_dbl_ldbl_inf_nan): New.
            * g++.dg/cpp29/ext-floating1.C: New test.
            * g++.dg/cpp29/std-floating1.C: New test.

    Reviewed-by: Jason Merrill <[email protected]>

Reply via email to