Messages in this thread | | | Date | Tue, 23 Jul 2013 02:54:06 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH, re-send] Always trap on BUG() |
| |
On 07/23/2013 02:36 AM, Ingo Molnar wrote: >> >> Well, there are three alternatives here, right: >> >> 1. We can use unreachable(), which means that the compiler can assume it >> never happens. > > AFAICS this is dangerous as it loses warnings and moves execution into > la-la-land without any obvious sign at the C level. >
Extremely dangerous.
-hpa
| |