public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/10439: A small standard non-conformance
@ 2003-04-19 11:47 nathan
  0 siblings, 0 replies; 2+ messages in thread
From: nathan @ 2003-04-19 11:47 UTC (permalink / raw)
  To: be9-ml, gcc-bugs, gcc-prs, nobody

Synopsis: A small standard non-conformance

State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Sat Apr 19 11:47:47 2003
State-Changed-Why:
    not a bug, you forgot -pedantic. 

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10439


^ permalink raw reply	[flat|nested] 2+ messages in thread

* c/10439: A small standard non-conformance
@ 2003-04-19 11:06 be9-ml
  0 siblings, 0 replies; 2+ messages in thread
From: be9-ml @ 2003-04-19 11:06 UTC (permalink / raw)
  To: gcc-gnats


>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:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-19 11:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-19 11:47 c/10439: A small standard non-conformance nathan
  -- strict thread matches above, loose matches on Subject: below --
2003-04-19 11:06 be9-ml

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).