[Bug c++/59916] [4.9 Regression] constructors and destructors can cause "control reaches end of non-void function" warnings with -Os
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 28 18:48:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59916
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #2)
> <retval> = B::B (this, 0, __vtt_parm);
That assigns to the RESULT_DECL, which should count as a return.
More information about the Gcc-bugs
mailing list