From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id CC3E72EF98 for ; Tue, 9 Jan 2001 01:23:15 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f096NFF13436 for axp-list@listman.redhat.com; Tue, 9 Jan 2001 01:23:15 -0500 Received: from cc42593-a.taylor1.mi.home.com (cc42593-a.taylor1.mi.home.com [24.7.252.3]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f096NFD13432 for ; Tue, 9 Jan 2001 01:23:15 -0500 Received: from localhost (jsturm@localhost) by cc42593-a.taylor1.mi.home.com (8.9.3/8.9.3) with ESMTP id CAA20238 for ; Tue, 9 Jan 2001 02:26:18 -0500 From: jeff.sturm@appnet.com X-Authentication-Warning: cc42593-a.taylor1.mi.home.com: jsturm owned process doing -bs Date: Tue, 9 Jan 2001 02:26:18 -0500 (EST) X-Sender: jsturm@cc42593-a.taylor1.mi.home.com To: axp-list@redhat.com Subject: Re: ccc error In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors Does anyone know if the following is valid C: extern int a; extern int b; void f(int x) { (x ? a : b) = 1; } gcc compiles it fine, ccc fails with: cc: Error: t.c, line 5: In this statement, "(x?a:b)" is not an lvalue, but occurs in a context that requires one. (needlvalue) (x ? a : b) = 1; --------^ GCC contains similar constructs, so I'd think it's portable C. Where can one submit bug reports for ccc? Jeff