On Jul 18, 2008, at 7:51 AM, Alexander Shishkin wrote:
/* + * Explicitly specify that a certain point in the codepath should not + * be reached and indicate so to gcc. + */ +#if __GNUC_PREREQ__(4, 3) +#define __NOTREACHED for (;;) continue +#else +#define __NOTREACHED +#endif
If it's truly not-reached code, how about#define __NOTREACHED for (;;) panic("NOTREACHED %s:%u", __FILE__, __LINE__)
? -- thorpej