lkml.org 
[lkml]   [2009]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Definition of BUG on x86
Ingo Molnar wrote:
> could we just do:
>
> __builtin_trap();
> for (;;);
>
> and _now_ GCC would optimize away the infinite loop? And if it
> does something silly in a future release, we'd either get a
> build error or we'd run into the infinite loop for sure.
>

I guess that would work. And we have plenty of infrastructure and
precedent for compiler-dependent defines like this.

J


\
 
 \ /
  Last update: 2009-02-19 17:35    [from the cache]
©2003-2011 Jasper Spaans