public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/9368: [3.4 regression] parser: invalid use of template type parameter
@ 2003-01-19 19:01 paolo
0 siblings, 0 replies; 4+ messages in thread
From: paolo @ 2003-01-19 19:01 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, paolo, rodrigc
Synopsis: [3.4 regression] parser: invalid use of template type parameter
State-Changed-From-To: open->analyzed
State-Changed-By: paolo
State-Changed-When: Sun Jan 19 19:01:54 2003
State-Changed-Why:
Neither happens with EDG-based compilers in strict mode.
Seems definitely an high-priority regression.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9368
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/9368: [3.4 regression] parser: invalid use of template type parameter
@ 2003-01-22 19:33 mmitchel
0 siblings, 0 replies; 4+ messages in thread
From: mmitchel @ 2003-01-22 19:33 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, paolo, rodrigc
Synopsis: [3.4 regression] parser: invalid use of template type parameter
State-Changed-From-To: analyzed->closed
State-Changed-By: mmitchel
State-Changed-When: Wed Jan 22 19:32:59 2003
State-Changed-Why:
Already fixed in GCC 3.4.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9368
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/9368: [3.4 regression] parser: invalid use of template type parameter
@ 2003-01-20 10:16 Volker Reichelt
0 siblings, 0 replies; 4+ messages in thread
From: Volker Reichelt @ 2003-01-20 10:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/9368; it has been noted by GNATS.
From: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, paolo@gcc.gnu.org,
rodrigc@gcc.gnu.org
Cc:
Subject: Re: c++/9368: [3.4 regression] parser: invalid use of template type parameter
Date: Mon, 20 Jan 2003 12:13:24 +0100
Here's an even smaller testcase:
------------------------------snip here---------------------------
template <typename T> struct A
{
T t;
static void foo (A<T>&);
};
template <typename T> struct B
{
A<T> a;
void bar() { typedef A<T> C; C::foo(a); }
};
------------------------------snip here---------------------------
With this testcase I get the message:
PR9368.cpp: In instantiation of `A<T>':
PR9368.cpp:10: instantiated from here
PR9368.cpp:3: error: `A<T>::t' has incomplete type
PR9368.cpp:3: error: invalid use of template type parameter
Regards,
Volker
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9368
^ permalink raw reply [flat|nested] 4+ messages in thread
* c++/9368: [3.4 regression] parser: invalid use of template type parameter
@ 2003-01-19 18:06 rodrigc
0 siblings, 0 replies; 4+ messages in thread
From: rodrigc @ 2003-01-19 18:06 UTC (permalink / raw)
To: gcc-gnats; +Cc: paolo
>Number: 9368
>Category: c++
>Synopsis: [3.4 regression] parser: invalid use of template type parameter
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Sun Jan 19 18:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Craig Rodrigues
>Release: gcc version 3.4 20030117 (experimental)
>Organization:
>Environment:
>Description:
Compiling the attached testcase yields:
R1.cpp: In instantiation of `ACE_Refcounted_Auto_Ptr_Rep<X, ACE_LOCK>':
R1.cpp:53: instantiated from here
R1.cpp:26: error: `ACE_Refcounted_Auto_Ptr_Rep<X, ACE_LOCK>::lock_' has
incomplete type
R1.cpp:26: error: invalid use of template type parameter
This does not happen with gcc 3.2 or gcc 3.3.
See also:
http://gcc.gnu.org/ml/gcc/2003-01/msg00870.html
http://gcc.gnu.org/ml/gcc/2003-01/msg00876.html
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="R1.cpp.bz2"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="R1.cpp.bz2"
QlpoOTFBWSZTWcmVbSQAAqDfgAQQQXRAHy8N1kq/b98rQAHQZuKhJKT1BpkHomhoAABoMIJEiaIx
T1B6Ro9I0DQDE0aBFUmmQDQAAAND0gACKSAao9HqnqeSA0DQAACMxnfGAafF0biHORI2Gx8xMo2y
quAuW7fBVRtq1UQrPcrsHDhuUeK1y4dS34AWG67gaQYmJwOxkN7WZ5AVIIxbnAeFemat22yybYuR
o+MLht9uL+Z4VpaBDYDC6+p1GhmpDsyt1EFGXu8pFJibdyRiIGJH8MyaukRrY5qFmFNqCc1CdnYM
B5IJGxKFRQoYKEbKyMirSYlAoZXC12wzMBJgNfXF5i0iltQoVIkRrInCRoQrvRU1UdkJVlt1ZUpc
LAbWIjQDZ8Cnjf6wkgHou7SxxAiBHLj2CkVAYVJoQBDWxNUw8wuz4BtyqC0KZZ2mE75ImoD9oEy0
C6koAxg0FNYprxHfvgUvTaMzArJwHhCh/yBAYoJYSyeYe0lKERIRNE1UUZViaZWClAK5im4Uzwnl
jvCktwpqLFIDoxLS5m/i7kinChIZMq2kgA==
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-01-22 19:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-19 19:01 c++/9368: [3.4 regression] parser: invalid use of template type parameter paolo
-- strict thread matches above, loose matches on Subject: below --
2003-01-22 19:33 mmitchel
2003-01-20 10:16 Volker Reichelt
2003-01-19 18:06 rodrigc
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).