This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/19583] [4.0 Regression] Incorrect diagnostic: control may reach end of non-void function '...' being inlined
- 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: 23 Jan 2005 16:22:43 -0000
- Subject: [Bug middle-end/19583] [4.0 Regression] Incorrect diagnostic: control may reach end of non-void function '...' being inlined
- References: <20050123050702.19583.zack@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 16:22 -------
(In reply to comment #8)
> (In reply to comment #7)
> > Mine. I am testing a patch right now.
>
> Hmm, I get a bootstrap failure with the patch:
And here is the reduced testcase for that failure:
void f(void);
void g(void) throw()
{
f();
}
I have to rethink this, maybe we should skip those trees before passing to block_may_fallthru.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19583