[Bug c/14062] noreturn attribute generates warning "function does return", still creates epilogue code
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Feb 7 19:00:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list