From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30452 invoked by alias); 9 Jun 2010 11:13:25 -0000 Received: (qmail 30438 invoked by uid 22791); 9 Jun 2010 11:13:23 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 Jun 2010 11:13:14 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o59BDCKf025134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 9 Jun 2010 07:13:13 -0400 Received: from tyan-ft48-01.lab.bos.redhat.com (tyan-ft48-01.lab.bos.redhat.com [10.16.42.4]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o59BDBBp007044 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Jun 2010 07:13:12 -0400 Received: from tyan-ft48-01.lab.bos.redhat.com (localhost [127.0.0.1]) by tyan-ft48-01.lab.bos.redhat.com (8.14.3/8.14.3) with ESMTP id o59BGGNE013853; Wed, 9 Jun 2010 13:16:16 +0200 Received: (from jakub@localhost) by tyan-ft48-01.lab.bos.redhat.com (8.14.3/8.14.3/Submit) id o59BGFxX013851; Wed, 9 Jun 2010 13:16:15 +0200 Date: Wed, 09 Jun 2010 11:25:00 -0000 From: Jakub Jelinek To: Jan Hubicka Cc: Richard Guenther , gcc-patches@gcc.gnu.org Subject: Re: Make gimple.h checks conditional with ENABLE_GIMPLE_CHECKING Message-ID: <20100609111615.GF10293@tyan-ft48-01.lab.bos.redhat.com> Reply-To: Jakub Jelinek References: <20100608225711.GA15770@kam.mff.cuni.cz> <20100609110948.GC8913@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100609110948.GC8913@kam.mff.cuni.cz> User-Agent: Mutt/1.5.20 (2009-08-17) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg00896.txt.bz2 On Wed, Jun 09, 2010 at 01:09:48PM +0200, Jan Hubicka wrote: > @@ -1085,7 +1087,7 @@ static inline enum gimple_statement_stru > gss_for_code (enum gimple_code code) > { > #ifdef ENABLE_CHECKING > - gcc_assert ((unsigned int)code < LAST_AND_UNUSED_GIMPLE_CODE); > + gcc_gimple_checking_assert ((unsigned int)code < LAST_AND_UNUSED_GIMPLE_CODE); > #endif Please also remove the #ifdef guards (several times in the patch). Jakub