public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19396] New: [3.4/4.0 regression] Invalid template in typedef accepted
@ 2005-01-12 13:07 reichelt at gcc dot gnu dot org
2005-01-12 15:53 ` [Bug c++/19396] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-01-12 13:07 UTC (permalink / raw)
To: gcc-bugs
Without "-pedantic" the following invalid code snippet is accepted
since gcc 3.4.0:
================================
template<typename> struct A
{
typedef int A::template X;
};
================================
--
Summary: [3.4/4.0 regression] Invalid template in typedef
accepted
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19396
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/19396] [3.4/4.0 regression] Invalid template in typedef accepted
2005-01-12 13:07 [Bug c++/19396] New: [3.4/4.0 regression] Invalid template in typedef accepted reichelt at gcc dot gnu dot org
@ 2005-01-12 15:53 ` pinskia at gcc dot gnu dot org
2005-02-02 1:51 ` [Bug c++/19396] [3.4 " reichelt at gcc dot gnu dot org
2005-05-19 17:26 ` mmitchel at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-12 15:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-12 15:53 -------
: Search converges between 2002-12-14-trunk (#159) and 2002-12-29-trunk (#160).
Confirmed, looks like the new parser change the meaning of this case.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-01-12 15:53:52
date| |
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19396
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/19396] [3.4 regression] Invalid template in typedef accepted
2005-01-12 13:07 [Bug c++/19396] New: [3.4/4.0 regression] Invalid template in typedef accepted reichelt at gcc dot gnu dot org
2005-01-12 15:53 ` [Bug c++/19396] " pinskia at gcc dot gnu dot org
@ 2005-02-02 1:51 ` reichelt at gcc dot gnu dot org
2005-05-19 17:26 ` mmitchel at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-02-02 1:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-02-02 01:51 -------
Fixed in mainline with Mark's patch for PR19395:
http://gcc.gnu.org/ml/gcc-cvs/2005-01/msg01266.html
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.4/4.0 regression] Invalid|[3.4 regression] Invalid
|template in typedef accepted|template in typedef accepted
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19396
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/19396] [3.4 regression] Invalid template in typedef accepted
2005-01-12 13:07 [Bug c++/19396] New: [3.4/4.0 regression] Invalid template in typedef accepted reichelt at gcc dot gnu dot org
2005-01-12 15:53 ` [Bug c++/19396] " pinskia at gcc dot gnu dot org
2005-02-02 1:51 ` [Bug c++/19396] [3.4 " reichelt at gcc dot gnu dot org
@ 2005-05-19 17:26 ` mmitchel at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-05-19 17:26 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4.4 |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19396
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-05-19 17:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-12 13:07 [Bug c++/19396] New: [3.4/4.0 regression] Invalid template in typedef accepted reichelt at gcc dot gnu dot org
2005-01-12 15:53 ` [Bug c++/19396] " pinskia at gcc dot gnu dot org
2005-02-02 1:51 ` [Bug c++/19396] [3.4 " reichelt at gcc dot gnu dot org
2005-05-19 17:26 ` mmitchel at gcc dot gnu dot org
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).