[Bug target/11775] "Control reaches end" warning issued for __attribute__((naked)) functions
dhazeghi at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Mon Aug 25 14:16:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11775
dhazeghi at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
------- Additional Comments From dhazeghi at yahoo dot com 2003-08-25 14:16 -------
I'm not certain I agree with you that this is a bug. To silence that warning, wouldn't using
__attribute__((noreturn) make sense? __attribute__((naked)) only deals with codegen, namely the
programmer must provide prologue and epilogue, so I fail to see why it should change the warning
you're having.
More information about the Gcc-bugs
mailing list