GCC feature request: attribute((noreturn)) on asm()

gcc@horizon.com gcc@horizon.com
Fri Mar 23 22:50:00 GMT 2001


It's hard to figure out how to implement _exit() without getting warnings.
I want to declare that asm("int $128" : : "a" (__NR_exit)) will not return.

Is there a way to tell GCC (2.95 or later) about this?


Thanks!



More information about the Gcc-bugs mailing list