public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5658: Regression on redefinition of a type in a derived class.
@ 2002-04-16 15:39 nathan
  0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2002-04-16 15:39 UTC (permalink / raw)
  To: Theodore.Papadopoulo, gcc-bugs, gcc-prs, nathan, nobody

Synopsis: Regression on redefinition of a type in a derived class.

Responsible-Changed-From-To: nathan->unassigned
Responsible-Changed-By: nathan
Responsible-Changed-When: Tue Apr 16 15:39:41 2002
Responsible-Changed-Why:
    letting go

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


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

* Re: c++/5658: Regression on redefinition of a type in a derived class.
@ 2002-03-17  9:45 nathan
  0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2002-03-17  9:45 UTC (permalink / raw)
  To: Theodore.Papadopoulo, gcc-bugs, gcc-prs, nathan, nobody

Synopsis: Regression on redefinition of a type in a derived class.

Responsible-Changed-From-To: unassigned->nathan
Responsible-Changed-By: nathan
Responsible-Changed-When: Sun Mar 17 09:45:02 2002
Responsible-Changed-Why:
    investigating

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


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

* Re: c++/5658: Regression on redefinition of a type in a derived class.
@ 2002-03-03 14:59 nathan
  0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2002-03-03 14:59 UTC (permalink / raw)
  To: Theodore.Papadopoulo, gcc-bugs, gcc-prs, nobody

Synopsis: Regression on redefinition of a type in a derived class.

State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Sun Mar  3 14:59:29 2002
State-Changed-Why:
    confirmed as a 3.0 regression

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


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

* c++/5658: Regression on redefinition of a type in a derived class.
@ 2002-02-11 11:36 Theodore.Papadopoulo
  0 siblings, 0 replies; 4+ messages in thread
From: Theodore.Papadopoulo @ 2002-02-11 11:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5658
>Category:       c++
>Synopsis:       Regression on redefinition of a type in a derived class.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 11 11:36:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Theodore Papadopoulo
>Release:        unknown-1.0
>Organization:
>Environment:
i686-pc-linux-gnu
Linux 2.2.18
>Description:
This is a regression from 3.0 or gcc version 3.1 20011022.
The following minimal example now fails to compile.
This might be related to the correction of C++ bug 72.

What is really strange is that if the constructor for B is removed, then everything is compiling again. 

vanuatu->g++ TemplateInheritance.C 
TemplateInheritance.C: In instantiation of `B<T>::B() [with T = int]':
TemplateInheritance.C:18:   instantiated from here
TemplateInheritance.C:14: declaration of `template<class U> struct 
   B<int>::iterator'
TemplateInheritance.C:12: conflicts with previous declaration `template<class 
   U> struct B<int>::iterator'
TemplateInheritance.C:14: declaration of `template<class U> struct 
   B<int>::iterator'
TemplateInheritance.C:12: conflicts with previous declaration `template<class 
   U> struct B<int>::iterator'
TemplateInheritance.C:14: declaration of `template<class U> struct 
   B<int>::iterator'
TemplateInheritance.C:12: conflicts with previous declaration `template<class 
   U> struct B<int>::iterator'
>How-To-Repeat:
Just compile the program above with a recent compiler.
>Fix:
I did not find one, that is why I believe the problem is serious.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="TemplateInheritance.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="TemplateInheritance.C"

Ly8gQnVpbGQgZG9uJ3QgbGluazoKCi8vIENvcHlyaWdodCAoQykgMjAwMiBGcmVlIFNvZnR3YXJl
IEZvdW5kYXRpb24sIEluYy4KLy8gQ29udHJpYnV0ZWQgYnkgVGhlb2RvcmUuUGFwYWRvcG91bG8g
MTEgRmViIDIwMDIgPFRoZW9kb3JlLlBhcGFkb3BvdWxvQHNvcGhpYS5pbnJpYS5mcj4KCnN0cnVj
dCBBIHsKICAgIHR5cGVkZWYgaW50IGl0ZXJhdG9yOwp9Owp0ZW1wbGF0ZSA8dHlwZW5hbWUgVD4K
c3RydWN0IEI6IHB1YmxpYyBBIHsKICAgIHRlbXBsYXRlIDx0eXBlbmFtZSBVPgogICAgc3RydWN0
IGl0ZXJhdG9yIHsKICAgIH07CiAgICBCKCkgeyB9Cn07CmludCBtYWluKCkgCnsKICAgIEI8aW50
PiBhOyAKfTsK


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

end of thread, other threads:[~2002-04-16 22:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-16 15:39 c++/5658: Regression on redefinition of a type in a derived class nathan
  -- strict thread matches above, loose matches on Subject: below --
2002-03-17  9:45 nathan
2002-03-03 14:59 nathan
2002-02-11 11:36 Theodore.Papadopoulo

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