On Wed, Feb 19, 2020 at 10:34:23PM +0000, Jeff Roberson wrote:
> Author: jeff
> Date: Wed Feb 19 22:34:22 2020
> New Revision: 358133
> URL: https://svnweb.freebsd.org/changeset/base/358133
> 
> Log:
>   Silence a gcc warning about no return from a function that handles every
>   possible enum in a switch statement.  I verified that this emits nothing
>   as expected on clang.  radix relies on constant propagation to eliminate
>   any branching from these access routines.

__builtin_unreachable() ?

Joerg
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to