Jan Hubicka <[EMAIL PROTECTED]> writes: [...] >> static inline void __attribute__((noreturn)) BUG(void) >> { >> __asm__ __volatile__("trap"); >> __builtin_unreached(); > > This is bit dificult to do in general since it introduces new kind of > control flow construct. It would be better to express such functions > explicitely to GCC.
How about static inline void __attribute__((noreturn)) BUG(void) { __asm__ __volatile__ __noreturn__("trap"); } then ;) -- Sergei.