This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/11775] "Control reaches end" warning issued for __attribute__((naked)) functions
- From: "dhazeghi at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2003 14:16:21 -0000
- Subject: [Bug target/11775] "Control reaches end" warning issued for __attribute__((naked)) functions
- References: <20030803012423.11775.pgonzalez@bluel.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.