Hacker News new | ask | show | jobs
by astrange 3833 days ago
You should use __builtin_trap(). Invoking undefined behavior lets the compiler justifiably delete the entire code path leading up to it.