------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-24
18:02 -------
Ok, now I can confirm it. The problem was I was using optimization.
Anyways the short testcase:
struct s {~s(); s();};
int f(int f2, int f3)
{
s gg;
if (f3 && f2)
return 1;
else
return 54;
}
: Search converges between 2004-07-09-trunk (#483) and 2004-07-12-trunk (#484).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-03-24 18:02:50
date| |
Summary|wrong "control reaches end |[4.0/4.1 Regression] wrong
|of non-void function" |"control reaches end of non-
|warning |void function" warning
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20624