This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/19699] [4.0/4.1 Regression] warning about not returning from end of a non-void function because of dead 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: 6 Jun 2005 16:07:41 -0000
- Subject: [Bug middle-end/19699] [4.0/4.1 Regression] warning about not returning from end of a non-void function because of dead code
- References: <20050129192214.19699.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-06 16:07 -------
(In reply to comment #14)
> This is how I came to this "conclusion":
> There are new (not very rare) regressions in gcc-4.0 that will never
> be fixed. These regressions will be fixed only in gcc-4.1.
> As a result, it sounds like gcc-4.0 is much less maintained than
> any other (active) branch (or trunk) at the moment. This is
> very different from any of the previous releases of GCC (up to
> gcc-2.95)
This is only a diagnostic regression. In fact before this patch which added the warning in the inliner,
we had a diagnostic regression. So it is either false postive or false negatives. Take your pick, I rather
have the false postives as it means you have to look at your code to double check, if we don't get a
diagnostic at all, the person will complain when we get it right again the next major release. Again take
your pick.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19699