[Bug c++/59916] [4.9 Regression] constructors and destructors can cause "control reaches end of non-void function" warnings with -Os
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 28 13:04:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59916
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.9.0
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Surely frontend related - after gimplification I see
B::B() (struct B * const this, const void * * __vtt_parm)
{
struct B * <retval>;
<retval> = B::B (this, 0, __vtt_parm);
}
which misses a return.
More information about the Gcc-bugs
mailing list