diff options
author | Joseph Myers <joseph@codesourcery.com> | 2022-09-09 14:11:21 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2022-09-09 14:11:21 +0000 |
commit | a1a53dc7d87969d230e9ca51fcab59f3a72e5f6e (patch) | |
tree | 66d18f84613aafe396a98dd4cd6ec85ed7a1354e /libgomp | |
parent | e230f11e9784eefed316df7dbc5df6ac999841b2 (diff) | |
download | gcc-a1a53dc7d87969d230e9ca51fcab59f3a72e5f6e.zip gcc-a1a53dc7d87969d230e9ca51fcab59f3a72e5f6e.tar.gz gcc-a1a53dc7d87969d230e9ca51fcab59f3a72e5f6e.tar.bz2 |
stddef.h: Add C2x unreachable macro
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.
gcc/
* ginclude/stddef.h [__STDC_VERSION__ > 201710L] (unreachable):
New macro.
gcc/testsuite/
* gcc.dg/c11-unreachable-1.c, gcc.dg/c2x-unreachable-1.c: New
tests.
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions