public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/2803
@ 2001-05-27  9:56 nathan
  0 siblings, 0 replies; only message in thread
From: nathan @ 2001-05-27  9:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/2803; it has been noted by GNATS.

From: nathan@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org, hamdy@cdc.informatik.tu-datmstadt.de,
  nobody@gcc.gnu.org
Cc:  
Subject: Re: c/2803
Date: 27 May 2001 16:52:07 -0000

 Synopsis: g++ fails where gcc succeeds
 
 State-Changed-From-To: open->analyzed
 State-Changed-By: nathan
 State-Changed-When: Sun May 27 09:52:07 2001
 State-Changed-Why:
     the result of a cast of this form is only an lvalue, if it
     is to reference. [5.4]/1
     in C the case is also an rvalue so this is really a C bug,
     as that should reject it.
     
     cc1 -pedantic gives no error.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2803&database=gcc


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-27  9:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-27  9:56 c/2803 nathan

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).