Re: [PATCH 02/10] x86: Convert BUG() to use unreachable()

From: H. Peter Anvin
Date: Thu Sep 10 2009 - 21:43:49 EST


On 09/10/2009 06:37 PM, Roland McGrath wrote:
>> There are other cases where that kind of config-time testing could be
>> useful, and we could avoid doing various gcc checks dynamically from
>> within 'make' (along with checking for known-buggy versions etc).
>
> I quite agree that this would be an improvement for many sorts of compiler
> feature (and other tool detail) conditionalization.

The nicest, of course, would be if gcc exported its internal support,
similar to the way it nowadays export macros for the various internal
data types.

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