From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2094 invoked by alias); 24 Mar 2005 18:03:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 1978 invoked by uid 48); 24 Mar 2005 18:02:55 -0000 Date: Thu, 24 Mar 2005 18:03:00 -0000 Message-ID: <20050324180255.1977.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050324162738.20624.oliverst@online.de> References: <20050324162738.20624.oliverst@online.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug middle-end/20624] [4.0/4.1 Regression] wrong "control reaches end of non-void function" warning X-Bugzilla-Reason: CC X-SW-Source: 2005-03/txt/msg02903.txt.bz2 List-Id: ------- 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