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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |15.0
           Severity|normal                      |enhancement

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
It probably needs to be done close to the language frontends because we'll
quickly lose track of what is time_t and what uint64_t.  Programs might
also store time_t values in containers not having time_t.  I'll note GCC
itself doesn't know time_t (it knows for example FILE * and fenv_t * and
also struct tm *) and of course size_t.

We have a builtin for strftime but no other time related function.

Since time_t is C11 the reserved name could be claimed (at least once
declared in a compatible way).

Reply via email to