public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/7394: <synopsis of the problem (one line)>
@ 2002-07-24 11:16 geb
0 siblings, 0 replies; 3+ messages in thread
From: geb @ 2002-07-24 11:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 7394
>Category: c++
>Synopsis: <synopsis of the problem (one line)>
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Wed Jul 24 11:16:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Gary Barnes
>Release: 3.0.1
>Organization:
>Environment:
System: Linux smbear.attbi.com 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ./configure --prefix=/usr/local
>Description:
Compiler says to submit a bug report.
>How-To-Repeat:
g++ -c foo.cc -g -MMD -frepo -ansi -pedantic -fshort-enums -W -Wall -Wundef \
-Wshadow -Wpointer_arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings \
-Wconversion -Wsign-compare -Wredundant-decls -Wunreachable-code -Wmissing-declarations \
-Winline -fmessage-length=99999 -Werror
foo.cc: In instantiation of `One::Two::One_Two<int>':
foo.cc:44: instantiated from here
foo.cc:5: Internal compiler error in retrieve_specialization, at cp/pt.c:740
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
foo.cc has no #includes's. The code is below.
namespace One {
namespace Two {
namespace Three {
template <class Outer_t>
class One_Two_Three {
public:
One_Two_Three () : I (2) {};
int I;
void In123 (int _I);
};
}
}
}
namespace One {
namespace Two {
template <class Some_t>
class One_Two {
public:
One_Two () : J (1) {};
int J;
void In12 (int _J);
private:
int K;
template <class Outer_t>
friend class One::Two::Three::One_Two_Three;
typedef One::Two::Three::One_Two_Three <One_Two> Friend123;
Friend123 Our_Friend;
};
}
}
#if 0
template <Outer_t>
void One::Two::Three::One_Two_Three <Outer_t>::In123 (int _I) {
I = _I;
}
template <Some_t>
void One::Two::One_Two <Some_t>::In12 (int _J) {
J = _J
}
#endif
int main (int, char**) {
auto One::Two::One_Two <int> X;
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/7394: <synopsis of the problem (one line)>
@ 2002-08-08 9:06 Reichelt
0 siblings, 0 replies; 3+ messages in thread
From: Reichelt @ 2002-08-08 9:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/7394; it has been noted by GNATS.
From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
geb@attbi.com
Cc:
Subject: Re: c++/7394: <synopsis of the problem (one line)>
Date: Thu, 8 Aug 2002 17:55:25 +0200
Hi,
the bug seems to be fixed in gcc 3.1[.1]
(although it is still present in gcc 3.0.4).
The PR can probably be closed.
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7394
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/7394: <synopsis of the problem (one line)>
@ 2002-09-14 5:04 nathan
0 siblings, 0 replies; 3+ messages in thread
From: nathan @ 2002-09-14 5:04 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, geb, nobody
Synopsis: <synopsis of the problem (one line)>
State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Sat Sep 14 05:04:57 2002
State-Changed-Why:
fixed in 3.2
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7394
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-09-14 12:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-24 11:16 c++/7394: <synopsis of the problem (one line)> geb
2002-08-08 9:06 Reichelt
2002-09-14 5:04 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).