Fix a bug in __builtin_unreachable configure check
In 1167e9e
, I accidentally tested je_cv_gcc_builtin_ffsl instead of
je_cv_gcc_builtin_unreachable (copy-paste error), which meant that
JEMALLOC_INTERNAL_UNREACHABLE was always getting defined as abort even if
__builtin_unreachable support was detected.
This commit is contained in:
parent
61f467e16a
commit
c096ccfe11
@ -1095,7 +1095,7 @@ void foo (void) {
|
|||||||
foo();
|
foo();
|
||||||
}
|
}
|
||||||
], [je_cv_gcc_builtin_unreachable])
|
], [je_cv_gcc_builtin_unreachable])
|
||||||
if test "x${je_cv_gcc_builtin_ffsl}" = "xyes" ; then
|
if test "x${je_cv_gcc_builtin_unreachable}" = "xyes" ; then
|
||||||
AC_DEFINE([JEMALLOC_INTERNAL_UNREACHABLE], [__builtin_unreachable])
|
AC_DEFINE([JEMALLOC_INTERNAL_UNREACHABLE], [__builtin_unreachable])
|
||||||
else
|
else
|
||||||
AC_DEFINE([JEMALLOC_INTERNAL_UNREACHABLE], [abort])
|
AC_DEFINE([JEMALLOC_INTERNAL_UNREACHABLE], [abort])
|
||||||
|
Loading…
Reference in New Issue
Block a user