https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107583
David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmalcolm at gcc dot gnu.org --- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> --- get_stdlib_header_for_name in gcc/c-family/known-headers.cc has had: {"time_t", {"<time.h>", "<ctime>"} }, since r13-1369-gd489ec082ea214. Seems to work at file scope, but not within "struct foo": https://godbolt.org/z/4EWPxboqP