From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 648 invoked by alias); 2 Jan 2010 20:33:36 -0000 Received: (qmail 603 invoked by uid 48); 2 Jan 2010 20:33:26 -0000 Date: Sat, 02 Jan 2010 20:33:00 -0000 Message-ID: <20100102203326.602.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/37921] __builtin_constant_p seems to be giving false positives 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-01/txt/msg00189.txt.bz2 ------- Comment #9 from manu at gcc dot gnu dot org 2010-01-02 20:33 ------- (In reply to comment #8) > Re-confirmed. The issue is that we fold __builtin_constant_p only after > VRP1 so the dead code remains and we warn about it. Perhaps this is the root cause of both PR35392 and PR35903. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37921