This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/42674] [4.4/4.5 Regression] Bogus "no return statement in function returning non-void" warning
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jan 2010 22:08:30 -0000
- Subject: [Bug middle-end/42674] [4.4/4.5 Regression] Bogus "no return statement in function returning non-void" warning
- References: <bug-42674-14373@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-10 22:08 -------
We should probably warn instead "function returning non-void declared with
attribute noreturn".
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.4.2 4.5.0
Known to work| |4.3.4
Summary|[4.5 Regression] Bogus "no |[4.4/4.5 Regression] Bogus
|return statement in function|"no return statement in
|returning non-void" warning |function returning non-void"
| |warning
Target Milestone|--- |4.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42674