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; 6+ 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] 6+ 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; 6+ 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] 6+ 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; 6+ 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] 6+ 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; 6+ 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] 6+ messages in thread

* [Bug c++/19396] [3.4 regression] Invalid template in typedef accepted
       [not found] <bug-19396-1771@http.gcc.gnu.org/bugzilla/>
  2005-10-07  3:48 ` gdr at gcc dot gnu dot org
@ 2006-02-28  9:54 ` gdr at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: gdr at gcc dot gnu dot org @ 2006-02-28  9:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from gdr at gcc dot gnu dot org  2006-02-28 09:53 -------
fixed for 4.1.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|3.4.6                       |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19396


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

* [Bug c++/19396] [3.4 regression] Invalid template in typedef accepted
       [not found] <bug-19396-1771@http.gcc.gnu.org/bugzilla/>
@ 2005-10-07  3:48 ` gdr at gcc dot gnu dot org
  2006-02-28  9:54 ` gdr at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-10-07  3:48 UTC (permalink / raw)
  To: gcc-bugs



-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.5                       |3.4.6


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19396


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

end of thread, other threads:[~2006-02-28  9:53 UTC | newest]

Thread overview: 6+ 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
     [not found] <bug-19396-1771@http.gcc.gnu.org/bugzilla/>
2005-10-07  3:48 ` gdr at gcc dot gnu dot org
2006-02-28  9:54 ` gdr 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).