This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Add new built-in: __builtin_unreachable()
Paul Brook wrote:
The new __builtin_unreachable() is meant to be placed directly after
an asm that never returns. I cannot think of any other valid uses for
gcc_unreachable and gcc_assert are obvious candidates.
So might be following a call to a NORETURN function defined
in a third-party library, and the vendor doesn't actually
declare the function NORETURN.