From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23691 invoked by alias); 6 Jul 2010 17:28:23 -0000 Received: (qmail 23651 invoked by uid 48); 6 Jul 2010 17:28:12 -0000 Date: Tue, 06 Jul 2010 17:28:00 -0000 Message-ID: <20100706172812.23650.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/4210] should not warning with dead code 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: 2010-07/txt/msg00617.txt.bz2 ------- Comment #22 from manu at gcc dot gnu dot org 2010-07-06 17:28 ------- The way Clang gets this right is to perform some very-fast bitmap common constant propagation in the FE. I personally think this would be helpful if implemented correctly, even if it slows down the FE a little. But do not wait for a fix soon because this is not trivial to fix and no one has both the desire and the free time to work on fixing this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210