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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by John David Anglin <dang...@gcc.gnu.org>:

https://gcc.gnu.org/g:06867d9fa69ca6d4ded4602e6601c7153599cbff

commit r15-6443-g06867d9fa69ca6d4ded4602e6601c7153599cbff
Author: John David Anglin <dang...@gcc.gnu.org>
Date:   Thu Dec 26 11:27:36 2024 -0500

    Fix timevar.cc build on systems that don't have CLOCK_MONOTONIC

    2024-12-26  John David Anglin  <dang...@gcc.gnu.org>

    gcc/ChangeLog:

            PR target/118050
            * timevar.cc (get_time): Only use CLOCK_MONOTONIC if
            '_POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)'.
            Otherise, use CLOCK_REALTIME.

Reply via email to