util: Make unreachable at least be an assert
authorCarl Worth <cworth@cworth.org>
Fri, 5 Dec 2014 16:05:44 +0000 (08:05 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 16 Jan 2015 21:47:40 +0000 (13:47 -0800)
commit62d5b4b03aa63582cf0801d306d7ca055cca40a0
tree1d4d6b89e94fa52a672f42c5801c78e5d8ff4d06
parentf87ffd5cc32dbfaff0a110fd7a94a92866c95f3b
util: Make unreachable at least be an assert

Previously, if __builtin_unreachable() was unavailable, the
unreachable macro was defined to do nothing. We do better here, by at
least still making it an assert.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/util/macros.h