From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Li Subject: Re: [PATCH 1/2] fix result type of relational and logical operators Date: Mon, 27 May 2013 01:07:55 -0700 Message-ID: <20130527080701.GA2872@gmail.com> References: <1369402236-16871-1-git-send-email-xi.wang@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pa0-f41.google.com ([209.85.220.41]:65529 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756862Ab3E0IIN (ORCPT ); Mon, 27 May 2013 04:08:13 -0400 Received: by mail-pa0-f41.google.com with SMTP id rl6so6634704pac.14 for ; Mon, 27 May 2013 01:08:13 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: Pekka Enberg Cc: Xi Wang , Sparse Mailing-list , Linus Torvalds , Jeff Garzik On Mon, May 27, 2013 at 09:33:42AM +0300, Pekka Enberg wrote: > On Fri, May 24, 2013 at 4:30 PM, Xi Wang wrote: > > The result type of relational operators (e.g., x < y) and logical > > operators (e.g., x && y) in C should be int, rather than bool. > > Looks good to me. Chris, are you OK with me picking this up in the llvm tree? Acked-By: Christopher Li Chris