public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/6570: gcc-3.1 crash with template and namespace
@ 2002-05-05 22:56 Artur Siekielski
0 siblings, 0 replies; 3+ messages in thread
From: Artur Siekielski @ 2002-05-05 22:56 UTC (permalink / raw)
To: gcc-gnats
>Number: 6570
>Category: c++
>Synopsis: gcc-3.1 crash with template and namespace
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Sun May 05 22:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release:
>Organization:
>Environment:
>Description:
Release: 3.1 20020429 (prerelease)
Environment:
System: Linux muyc 2.4.19-pre3 #25 wto mar 12 07:57:57 CET 2002 i686 unknown
Architecture: i686
<machine, os, target, libraries (multiple lines)>
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc-20020429/configure --prefix=/usr/local/gcc-3.1 --disable-nls --enable-threads --enable-shared --disable-debug --enable-languages=c c++
Description:
gcc gives an ICE if class ``S'' is defined in namespace. Code is incorrect of course.
How-To-Repeat:
Code:
namespace My {
template <typename T> class S {};
}
class Bar {
My::S<bool> s;
public:
My::S& signalPressed()
{
return this->s;
}
};
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/6570: gcc-3.1 crash with template and namespace
@ 2002-11-01 15:33 bangerth
0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2002-11-01 15:33 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, gruesome, nobody
Synopsis: gcc-3.1 crash with template and namespace
State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Fri Nov 1 15:33:56 2002
State-Changed-Why:
Seems fixed:
tmp/g> /home/bangerth/bin/gcc-3.3-pre/bin/c++ -c x.cc
x.cc:8: error: invalid use of template-name 'My::S' in a declarator
x.cc:8: error: syntax error before `&' token
tmp/g> /home/bangerth/bin/gcc-3.2.1-pre/bin/c++ -c x.cc
x.cc:8: invalid use of template-name 'My::S' in a declarator
x.cc:8: syntax error before `&' token
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6570
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/6570: gcc-3.1 crash with template and namespace
@ 2002-05-12 3:22 lerdsuwa
0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2002-05-12 3:22 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, gruesome, nobody
Synopsis: gcc-3.1 crash with template and namespace
State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Sun May 12 03:22:40 2002
State-Changed-Why:
Confirmed. Still present on 3.1 branch and main trunk.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6570
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-11-01 23:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-05 22:56 c++/6570: gcc-3.1 crash with template and namespace Artur Siekielski
2002-05-12 3:22 lerdsuwa
2002-11-01 15:33 bangerth
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).