This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
GCC feature request: attribute((noreturn)) on asm()
- To: gcc-bugs at gcc dot gnu dot org
- Subject: GCC feature request: attribute((noreturn)) on asm()
- From: gcc at horizon dot com
- Date: 24 Mar 2001 06:50:11 -0000
- Cc: gcc at horizon dot com
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!