diff --git a/openmp/libomptarget/DeviceRTL/include/Debug.h b/openmp/libomptarget/DeviceRTL/include/Debug.h index bd4d40e8f24fd..22998f44a5bea 100644 --- a/openmp/libomptarget/DeviceRTL/include/Debug.h +++ b/openmp/libomptarget/DeviceRTL/include/Debug.h @@ -36,7 +36,8 @@ void __assert_fail_internal(const char *expr, const char *msg, const char *file, } #define UNREACHABLE(msg) \ PRINT(msg); \ - __builtin_trap(); + __builtin_trap(); \ + __builtin_unreachable(); ///}