From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16777 invoked by alias); 19 Apr 2003 11:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 16757 invoked by uid 71); 19 Apr 2003 11:06:01 -0000 Resent-Date: 19 Apr 2003 11:06:01 -0000 Resent-Message-ID: <20030419110601.16756.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, be9-ml@be9.ru Received: (qmail 15341 invoked by uid 48); 19 Apr 2003 10:56:46 -0000 Message-Id: <20030419105646.15340.qmail@sources.redhat.com> Date: Sat, 19 Apr 2003 11:06:00 -0000 From: be9-ml@be9.ru Reply-To: be9-ml@be9.ru To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c/10439: A small standard non-conformance X-SW-Source: 2003-04/txt/msg00856.txt.bz2 List-Id: >Number: 10439 >Category: c >Synopsis: A small standard non-conformance >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sat Apr 19 11:06:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: be9-ml@be9.ru >Release: gcc-2.95.4, gcc-3.2.1 >Organization: >Environment: 2.95.4 under FreeBSD 4.8-STABLE 3.2.1 under Linux (ALTLinux Junior 2.2) >Description: Well, the standard says that the comma operator in C always results in an r-value even if its right operand is an l-value. The following code is invalid though it compiles under gcc even with -ansi switch int i; int j; (i, j) = 1; // Invalid C >How-To-Repeat: Just compile it :-) >Fix: ? >Release-Note: >Audit-Trail: >Unformatted: