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

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Robert Dubner
<rdub...@gcc.gnu.org>:

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

commit r15-10131-gc48cce8872c3b66f28727b8dee8349ec72e1f234
Author: Robert Dubner <rdub...@symas.com>
Date:   Mon Jun 2 15:55:20 2025 -0400

    cobol: Honor HAVE_CLOCK_GETTIME and HAVE_GETTIMEOFDAY. [PR119975]

    These changes cause genapi.cc to use whichever of clock_gettime() or
    gettimeofday() are available.  This prevents compilation errors on
    systems where clock_gettime() is not available.

    gcc/cobol/ChangeLog:

            PR cobol/119975
            * genapi.cc (parser_intrinsic_call_0): Use get_time_64() function.
            * genutil.cc (get_time_64): Definition created.
            * genutil.h (get_time_64): Declaration created.

    (cherry picked from commit 8fc9e03a70fd08b54449b05833b00e7f8ad01c25)

Reply via email to