lkml.org 
[lkml]   [2013]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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



\
 
 \ /
  Last update: 2013-07-23 12:41    [W:0.186 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site