This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14062] noreturn attribute generates warning "function does return", still creates epilogue code
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Feb 2004 19:00:25 -0000
- Subject: [Bug c/14062] noreturn attribute generates warning "function does return", still creates epilogue code
- References: <20040207105506.14062.csirac2@yahoo.com.au>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-07 19:00 -------
Easy fix is to have:
void run() __attribute__ ((noreturn));
in a header and run and init in two different source files and that will fix the problem you
are seeing.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14062