This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/20000] missing warning for noreturn function returning non-void
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Feb 2005 06:51:05 -0000
- Subject: [Bug c/20000] missing warning for noreturn function returning non-void
- References: <20050216064218.20000.jsm28@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From joseph at codesourcery dot com 2005-02-16 06:51 -------
Subject: Re: missing warning for noreturn function returning
non-void
On Wed, 16 Feb 2005, zack at codesourcery dot com wrote:
> ... because the attribute used to get translated to a volatile qualifier
> on the function type, iirc.
It does still get translated - but not until some time after
grokdeclarator where the warning is.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20000