[Bug middle-end/19583] [4.0 Regression] Incorrect diagnostic: control may reach end of non-void function '...' being inlined
snyder at fnal dot gov
gcc-bugzilla@gcc.gnu.org
Wed Feb 9 07:02:00 GMT 2005
------- Additional Comments From snyder at fnal dot gov 2005-02-08 20:18 -------
(In reply to comment #24)
> (In reply to comment #23)
> > This does not seem to be fixed so reopening.
> I opened another PR because it is related but not fully the same problem. (PR
19699).
We still (as of CVS from Feb 8) get the warning if the throw-specifier is
not empty.
This example still gives the warning with -Wall -O1:
struct E{};
inline int bar() throw(E)
{
return 0;
}
void foo ()
{
bar();
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19583
More information about the Gcc-bugs
mailing list