public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/22173] New: [3.4/4.0/4.1 regression] Bogus template keyword accepted
@ 2005-06-24 17:00 reichelt at gcc dot gnu dot org
  2005-06-24 17:42 ` [Bug c++/22173] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-06-24 17:00 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet is accepted since gcc 3.4.0:

================================
struct A
{
    static void foo();
};

template<int> void bar()
{
    A::template foo(); // bogus template keyword
}
================================

Before it was correctly rejected.

-- 
           Summary: [3.4/4.0/4.1 regression] Bogus template keyword accepted
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid, monitored
          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=22173


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

end of thread, other threads:[~2005-10-17  8:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-22173-1771@http.gcc.gnu.org/bugzilla/>
2005-10-15 18:54 ` [Bug c++/22173] [3.4/4.0/4.1 regression] Bogus template keyword accepted mmitchel at gcc dot gnu dot org
2005-10-16 20:17 ` mmitchel at gcc dot gnu dot org
2005-10-16 21:57 ` cvs-commit at gcc dot gnu dot org
2005-10-16 21:58 ` cvs-commit at gcc dot gnu dot org
2005-10-17  8:08 ` reichelt at gcc dot gnu dot org
2005-06-24 17:00 [Bug c++/22173] New: " reichelt at gcc dot gnu dot org
2005-06-24 17:42 ` [Bug c++/22173] " pinskia at gcc dot gnu dot org
2005-07-01 20:05 ` pinskia at gcc dot gnu dot org
2005-07-22 21:15 ` pinskia at gcc dot gnu dot org
2005-09-27 16:20 ` 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).