On Wed, 9 Sep 2009 19:00:31 -0700 (PDT) Roland McGrath <roland@xxxxxxxxxx> wrote: > +/* > + * __builtin_unreachable is available in GCC 4.5+ and > + * also in Fedora/Red Hat GCC 4.4.1-10+. > + */ > +#if (__GNUC_MINOR__ > 4 \ > + || (__GNUC_MINOR__ == 4 \ > + && defined __GNUC_RH_RELEASE__ \ > + && (__GNUC_PATCHLEVEL__ > 1 \ > + || (__GNUC_PATCHLEVEL__ == 1 \ > + && __GNUC_RH_RELEASE__ >= 10)))) > +#define UNREACHABLE() __builtin_unreachable() > +#endif That's a bit of a mouthful. Did you consider a runtime probe with scripts/Kbuild.include's try-run, cc-option, etc? -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html