From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4426 invoked by alias); 7 Jan 2013 15:49:16 -0000 Received: (qmail 4409 invoked by uid 22791); 7 Jan 2013 15:49:15 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,DATE_IN_PAST_06_12,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-pa0-f50.google.com (HELO mail-pa0-f50.google.com) (209.85.220.50) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Jan 2013 15:49:09 +0000 Received: by mail-pa0-f50.google.com with SMTP id hz10so10827162pad.23 for ; Mon, 07 Jan 2013 07:49:08 -0800 (PST) X-Received: by 10.66.84.10 with SMTP id u10mr179880914pay.24.1357573748418; Mon, 07 Jan 2013 07:49:08 -0800 (PST) Received: from localhost ([118.186.82.6]) by mx.google.com with ESMTPS id rn8sm8053409pbc.65.2013.01.07.07.49.05 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Jan 2013 07:49:07 -0800 (PST) Date: Mon, 07 Jan 2013 15:52:00 -0000 From: horseriver To: Andrew Haley Cc: gcc-help@gcc.gnu.org Subject: Re: how to implement this ? Message-ID: <20130107060704.GA27149@debian.localdomain> References: <20130107044616.GD2432@debian.localdomain> <50EADC37.1010209@redhat.com> <20130107051145.GE2432@debian.localdomain> <50EAE52B.8000001@redhat.com> <20130107053935.GA26946@debian.localdomain> <50EAE9F7.5040405@redhat.com> <20130107055724.GD26946@debian.localdomain> <50EAED41.4010804@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50EAED41.4010804@redhat.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2013-01/txt/msg00045.txt.bz2 On Mon, Jan 07, 2013 at 03:44:01PM +0000, Andrew Haley wrote: > On 01/07/2013 05:57 AM, horseriver wrote: > > gcc can translate " ((a==0)?b:c)=8 " into if-else sentence > > > > is my idea ,not a reported error > > Oh, you mean why does C not allow ((a==0)?b:c)=8; > > You'd have to ask the C standard committee. It's not something > that the language allows. but I find this use in kernel code . code have been post in last mail > > Andrew. >