[lkml]   [2009]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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.


     \ /
      Last update: 2009-02-19 17:35    [W:0.027 / U:2.312 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site