Hacker News new | ask | show | jobs
by variadix 980 days ago
With GCC/clang you can write an ASSERT/ASSUME macro that does this. Basically: if (!cond) __builtin_unreachable();