From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25312 invoked by alias); 12 Feb 2009 14:59:38 -0000 Received: (qmail 25277 invoked by uid 48); 12 Feb 2009 14:59:26 -0000 Date: Thu, 12 Feb 2009 14:59:00 -0000 Message-ID: <20090212145926.25276.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/31878] Spurious warnings with -Wreturn-type due to not performing CCP/VRP in the front-end In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "manu at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-02/txt/msg01097.txt.bz2 ------- Comment #7 from manu at gcc dot gnu dot org 2009-02-12 14:59 ------- Updating the description. Although anyone would agree that not warning is the right thing to do, there doesn't seem to be any practical solution for this problem, so I leave it as unconfirmed. I wonder if clang/llvm gets this right. -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu dot org Summary|Spurious warnings generated |Spurious warnings with - |due to not optimizing first |Wreturn-type due to not | |performing CCP/VRP in the | |front-end http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31878