Re: [IDEA+RFC] Possible solution for min()/max() war

David Woodhouse (dwmw2@infradead.org)
Thu, 30 Aug 2001 22:14:56 +0100


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/