Date: Wed, 13 May 2015 11:05:30 -0500 From: Pedro Giffuni <pfg@FreeBSD.org> To: FreeBSD Current <freebsd-current@freebsd.org> Subject: CFR: a new __unreachable() builtin Message-ID: <5553764A.9010202@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hello; I am looking at the cdefs in other BSDs hoping to avoid adopting the same definitions with incompatible names and I noticed NetBSD is using a new __builtin_unreachable (void) function from gcc 4.6: https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html Apparently it was interesting enough that clang implemented it too so I created a code review differential for it. https://reviews.freebsd.org/D2536 I don't want to add new C definitions unless they are going to be used so feel free to comment on the convenience or not of having it. Pedro.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5553764A.9010202>