lkml.org 
[lkml]   [2001]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [IDEA+RFC] Possible solution for min()/max() war
    Date

    ptb@it.uc3m.es said:
    > And I was hoping that somebody could produce some gcc magic
    > replacement for BUG() that means "don't compile me". Perhaps a bit of
    > illegal assembler code with a line reference in? Surely gcc must have
    > something like __builtin_wont_compile()? It just needs to be a leaf of
    > the RTL that evokes a compile error.

    It's done. I believe it was called __builtin_ct_assertion(). I don't think
    it got merged (yet?).


    --
    dwmw2


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:01    [W:5.123 / U:0.112 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site