public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/7869: faults typedef redefinition in struct
@ 2002-09-13  9:35 nathan
  0 siblings, 0 replies; 2+ messages in thread
From: nathan @ 2002-09-13  9:35 UTC (permalink / raw)
  To: algrant, gcc-bugs, gcc-prs, nobody

Synopsis: faults typedef redefinition in struct

State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Fri Sep 13 09:35:24 2002
State-Changed-Why:
    not a bug. [3.4.1]/7

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


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

* c++/7869: faults typedef redefinition in struct
@ 2002-09-09 10:56 algrant
  0 siblings, 0 replies; 2+ messages in thread
From: algrant @ 2002-09-09 10:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7869
>Category:       c++
>Synopsis:       faults typedef redefinition in struct
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 09 10:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Al Grant
>Release:        3.1
>Organization:
>Environment:
SunOS bsun22 5.5.1 Generic_103640-31 sun4u sparc SUNW,Ultra-5_10
>Description:
typedef int T; struct S { typedef T T; };

faulted with 
  declaration of `typedef int S::T'
  changes meaning of `T' from `typedef int T'
but should be legal by 7.1.3.  Also faulted:

  typedef int T;
  struct S { typedef T Unused; typedef int T; };

not faulted if the typedef of Unused is removed.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-09-13 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-13  9:35 c++/7869: faults typedef redefinition in struct nathan
  -- strict thread matches above, loose matches on Subject: below --
2002-09-09 10:56 algrant

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