Skip to content
Commit f991fe01 authored by Anas Nashif's avatar Anas Nashif
Browse files

xcc: do not call ASSERT in CODE_UNREACHABLE



230ddd9a added unreachable path hint for assertion failure. Xcc does
not support __builtin_unreachable and this was defined as a call to
ASSERT, which generated some recursion.

Replace the definition with __builtin_trap() to work around this issue.

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 6b14c4bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment