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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|There is a bug in the Ada   |some Ada time functions
                   |runtime which causes some   |fail on the MinGW 32-bit
                   |Ada time functions to fail  |platform .
                   |on the MinGW 32-bit         |
                   |platform .                  |
         Resolution|---                         |FIXED
   Target Milestone|---                         |12.0
             Status|NEW                         |RESOLVED

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
https://gcc.gnu.org/g:c5049dfec7e13e458fbda1e9f01ffb0658484f70

commit r12-3710-gc5049dfec7e13e458fbda1e9f01ffb0658484f70
Author: Doug Rupp <r...@adacore.com>
Date:   Tue Jun 22 08:31:50 2021 -0700

    [Ada] Use OS_Time for interface to TZ functions.

    gcc/ada/

            * libgnat/a-calend.adb: Remove time_t, replace with OS_Time.
            * libgnat/s-os_lib.ads: Fix comments regarding time_t conversion
            functions to reflect the use of To_Ada in in Ada.Calendar
            package body.
            * sysdep.c (__gnat_localtime_tzoff): Use OS_Time instead of
            time_t.

Reply via email to