From patchwork Thu Aug 6 09:02:14 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Dudka X-Patchwork-Id: 39560 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n768x2Lx012565 for ; Thu, 6 Aug 2009 09:00:52 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753706AbZHFJAu (ORCPT ); Thu, 6 Aug 2009 05:00:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754545AbZHFJAu (ORCPT ); Thu, 6 Aug 2009 05:00:50 -0400 Received: from mx2.redhat.com ([66.187.237.31]:54853 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753706AbZHFJAt (ORCPT ); Thu, 6 Aug 2009 05:00:49 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7690ncJ002488 for ; Thu, 6 Aug 2009 05:00:49 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n7690mYF016380 for ; Thu, 6 Aug 2009 05:00:49 -0400 Received: from dhcp-lab-205.englab.brq.redhat.com (dhcp-lab-205.englab.brq.redhat.com [10.34.33.205]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n7690lnD030863 for ; Thu, 6 Aug 2009 05:00:48 -0400 From: Kamil Dudka To: sparse Subject: [PATCH] linearize.h: sanitize header Date: Thu, 6 Aug 2009 11:02:14 +0200 User-Agent: KMail/1.11.4 (Linux/2.6.29.5-191.fc11.x86_64; KDE/4.2.4; x86_64; ; ) MIME-Version: 1.0 X-Length: 2434 X-UID: 37534 Message-Id: <200908061102.14935.kdudka@redhat.com> X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org Hello, please consider applying the attached one-line patch. Feel free to choose better identifiers if these are not accurate enough. Thanks! Kamil From 4ad2c5943c1d0b16a19feefe721ebc53a4875a35 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Thu, 6 Aug 2009 10:54:56 +0200 Subject: [PATCH] linearize.h: sanitize header It's unfortunate to use 'true' and 'false' as identifiers in a system header. It clashes with corresponding macros from when included before . Signed-off-by: Kamil Dudka --- linearize.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linearize.h b/linearize.h index 2205082..50b3601 100644 --- a/linearize.h +++ b/linearize.h @@ -328,7 +328,7 @@ struct entrypoint { struct instruction *entry; }; -extern void insert_select(struct basic_block *bb, struct instruction *br, struct instruction *phi, pseudo_t true, pseudo_t false); +extern void insert_select(struct basic_block *bb, struct instruction *br, struct instruction *phi, pseudo_t if_true, pseudo_t if_false); extern void insert_branch(struct basic_block *bb, struct instruction *br, struct basic_block *target); pseudo_t alloc_phi(struct basic_block *source, pseudo_t pseudo, int size); -- 1.6.2.5