https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122287
Bug ID: 122287
Summary: get_stdlib_header_for_name is not updated for C23's
nullptr_t definition in stddef.h
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
While looking into someother issue I see nullptr_t would not say to include
<stddef.h> for C23 when it should.
Note I suspect get_stdlib_header_for_name does not take into account the C
version either. That is nullptr_t is not defined in stddef.h if NOT C23+.