Re: stddef.h: Add C2x unreachable macro

2022-09-09 Thread Richard Biener via Gcc-patches
On Thu, Sep 8, 2022 at 9:32 PM Joseph Myers wrote: > > C2x adds a macro unreachable to stddef.h, with the same semantics as > __builtin_unreachable. Define this macro accordingly. > > Bootstrapped with no regressions for x86_64-pc-linux-gnu. OK to commit? OK. > gcc/ > * ginclude/stddef

stddef.h: Add C2x unreachable macro

2022-09-08 Thread Joseph Myers
C2x adds a macro unreachable to stddef.h, with the same semantics as __builtin_unreachable. Define this macro accordingly. Bootstrapped with no regressions for x86_64-pc-linux-gnu. OK to commit? gcc/ * ginclude/stddef.h [__STDC_VERSION__ > 201710L] (unreachable): New macro. gcc