This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]