public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29469]  New: error: non-template 'pair' used as template
@ 2006-10-14 17:37 tbm at cyrius dot com
  2006-10-14 17:37 ` [Bug c++/29469] " tbm at cyrius dot com
                   ` (20 more replies)
  0 siblings, 21 replies; 23+ messages in thread
From: tbm at cyrius dot com @ 2006-10-14 17:37 UTC (permalink / raw)
  To: gcc-bugs

The following example code compiled fine with 4.1.2 20060901 (Debian 4.1.1-13)
but fails with 4.1.2 20061007 (Debian 4.1.1-16).  I'm wondering whether this
change was intentional and whether there's a good reason for this change (in a
stable branch).

$ g++-4.1 -c pair.c
x.c:32: error: non-template 'pair' used as template
x.c:32: note: use 'avm_map<Key, Value, Compare, equal>::template pair' to
indicate that it is a template


-- 
           Summary: error: non-template 'pair' used as template
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com


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


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

* [Bug c++/29469] error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
@ 2006-10-14 17:37 ` tbm at cyrius dot com
  2006-10-14 17:48 ` pinskia at gcc dot gnu dot org
                   ` (19 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: tbm at cyrius dot com @ 2006-10-14 17:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2006-10-14 17:37 -------
Created an attachment (id=12429)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12429&action=view)
testcase


-- 


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


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

* [Bug c++/29469] error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
  2006-10-14 17:37 ` [Bug c++/29469] " tbm at cyrius dot com
@ 2006-10-14 17:48 ` pinskia at gcc dot gnu dot org
  2006-10-14 18:11 ` [Bug c++/29469] [DR 224] " pinskia at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-14 17:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-10-14 17:48 -------
The real question is avm_map dependent inside the nested class?
I know there are C++ defect reports asking that question so ...


-- 


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


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

* [Bug c++/29469] [DR 224] error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
  2006-10-14 17:37 ` [Bug c++/29469] " tbm at cyrius dot com
  2006-10-14 17:48 ` pinskia at gcc dot gnu dot org
@ 2006-10-14 18:11 ` pinskia at gcc dot gnu dot org
  2006-10-14 18:15 ` pinskia at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-14 18:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-10-14 18:11 -------
(In reply to comment #2)
> The real question is avm_map dependent inside the nested class?
> I know there are C++ defect reports asking that question so ...
And that is DR 224 which is in WP.


-- 


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


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

* [Bug c++/29469] [DR 224] error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2006-10-14 18:11 ` [Bug c++/29469] [DR 224] " pinskia at gcc dot gnu dot org
@ 2006-10-14 18:15 ` pinskia at gcc dot gnu dot org
  2006-10-14 18:25 ` pinskia at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-14 18:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-10-14 18:15 -------
I think this is more complicated than just DR 224.
See PR 9634.


-- 


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


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

* [Bug c++/29469] [DR 224] error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2006-10-14 18:15 ` pinskia at gcc dot gnu dot org
@ 2006-10-14 18:25 ` pinskia at gcc dot gnu dot org
  2006-10-14 18:26   ` Andrew Pinski
  2006-10-14 18:26 ` pinskia at gmail dot com
                   ` (15 subsequent siblings)
  20 siblings, 1 reply; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-14 18:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-10-14 18:25 -------
DR 224 says this is invalid code but GDR has mentioned that DR 224 is broken in
really bad way:

template <class T> struct B : T
{
  void g(void) { B x; x.f(); }
}

struct A
{
  void f(void) {}
}

int main(void)
{
  B<A> t;
  t.g();
}

The above code would be invalid code with the resulution of DR 224.


-- 


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


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

* Re: [Bug c++/29469] [DR 224] error: non-template 'pair' used as  template
  2006-10-14 18:25 ` pinskia at gcc dot gnu dot org
@ 2006-10-14 18:26   ` Andrew Pinski
  0 siblings, 0 replies; 23+ messages in thread
From: Andrew Pinski @ 2006-10-14 18:26 UTC (permalink / raw)
  To: gcc-bugzilla; +Cc: gcc-bugs

On Sat, 2006-10-14 at 18:25 +0000, pinskia at gcc dot gnu dot org wrote:
> 
> ------- Comment #5 from pinskia at gcc dot gnu dot org  2006-10-14 18:25 -------
> DR 224 says this is invalid code 

Sorry valid code.

-- Pinski


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

* [Bug c++/29469] [DR 224] error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (4 preceding siblings ...)
  2006-10-14 18:25 ` pinskia at gcc dot gnu dot org
@ 2006-10-14 18:26 ` pinskia at gmail dot com
  2006-10-16  1:25 ` [Bug c++/29469] [DR 224] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: pinskia at gmail dot com @ 2006-10-14 18:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gmail dot com  2006-10-14 18:26 -------
Subject: Re:  [DR 224] error: non-template 'pair' used as
        template

On Sat, 2006-10-14 at 18:25 +0000, pinskia at gcc dot gnu dot org wrote:
> 
> ------- Comment #5 from pinskia at gcc dot gnu dot org  2006-10-14 18:25 -------
> DR 224 says this is invalid code 

Sorry valid code.

-- Pinski


-- 


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


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

* [Bug c++/29469] [DR 224] [4.1/4.2 Regression]  error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (5 preceding siblings ...)
  2006-10-14 18:26 ` pinskia at gmail dot com
@ 2006-10-16  1:25 ` pinskia at gcc dot gnu dot org
  2006-11-13  3:40 ` [Bug c++/29469] [DR 224] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-16  1:25 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
            Summary|[DR 224] error: non-template|[DR 224] [4.1/4.2
                   |'pair' used as template     |Regression]  error: non-
                   |                            |template 'pair' used as
                   |                            |template
   Target Milestone|---                         |4.1.2


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


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

* [Bug c++/29469] [DR 224] [4.1/4.2/4.3 Regression]  error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (6 preceding siblings ...)
  2006-10-16  1:25 ` [Bug c++/29469] [DR 224] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-11-13  3:40 ` mmitchel at gcc dot gnu dot org
  2007-02-14  9:21 ` mmitchel at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-11-13  3:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from mmitchel at gcc dot gnu dot org  2006-11-13 03:40 -------
Waiting for ISO Committee to decide what to do about DR 224.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug c++/29469] [DR 224] [4.1/4.2/4.3 Regression]  error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (7 preceding siblings ...)
  2006-11-13  3:40 ` [Bug c++/29469] [DR 224] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
@ 2007-02-14  9:21 ` mmitchel at gcc dot gnu dot org
  2007-12-16 23:20 ` steven at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:21 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


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

* [Bug c++/29469] [DR 224] [4.1/4.2/4.3 Regression]  error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (8 preceding siblings ...)
  2007-02-14  9:21 ` mmitchel at gcc dot gnu dot org
@ 2007-12-16 23:20 ` steven at gcc dot gnu dot org
  2008-01-08 16:21 ` steven at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: steven at gcc dot gnu dot org @ 2007-12-16 23:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from steven at gcc dot gnu dot org  2007-12-16 23:20 -------
Waiting for DR -> SUSPENDED.


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |UNCONFIRMED


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


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

* [Bug c++/29469] [DR 224] [4.1/4.2/4.3 Regression]  error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (9 preceding siblings ...)
  2007-12-16 23:20 ` steven at gcc dot gnu dot org
@ 2008-01-08 16:21 ` steven at gcc dot gnu dot org
  2008-01-08 16:23 ` steven at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: steven at gcc dot gnu dot org @ 2008-01-08 16:21 UTC (permalink / raw)
  To: gcc-bugs



-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-01-08 16:16:42
               date|                            |


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


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

* [Bug c++/29469] [DR 224] [4.1/4.2/4.3 Regression]  error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (10 preceding siblings ...)
  2008-01-08 16:21 ` steven at gcc dot gnu dot org
@ 2008-01-08 16:23 ` steven at gcc dot gnu dot org
  2008-01-21 16:39 ` jsm28 at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: steven at gcc dot gnu dot org @ 2008-01-08 16:23 UTC (permalink / raw)
  To: gcc-bugs



-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED


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


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

* [Bug c++/29469] [DR 224] [4.1/4.2/4.3 Regression]  error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (11 preceding siblings ...)
  2008-01-08 16:23 ` steven at gcc dot gnu dot org
@ 2008-01-21 16:39 ` jsm28 at gcc dot gnu dot org
  2008-07-04 21:38 ` [Bug c++/29469] [DR 224] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-01-21 16:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from jsm28 at gcc dot gnu dot org  2008-01-21 16:30 -------
Bugs waiting for the committee should not be release-critical; we can restore
this to P3 and reconsider the priority when unsuspending.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4


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


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

* [Bug c++/29469] [DR 224] [4.2/4.3/4.4 Regression]  error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (12 preceding siblings ...)
  2008-01-21 16:39 ` jsm28 at gcc dot gnu dot org
@ 2008-07-04 21:38 ` jsm28 at gcc dot gnu dot org
  2009-03-03 21:10 ` jason at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 21:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from jsm28 at gcc dot gnu dot org  2008-07-04 21:37 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[DR 224] [4.1/4.2/4.3/4.4   |[DR 224] [4.2/4.3/4.4
                   |Regression]  error: non-    |Regression]  error: non-
                   |template 'pair' used as     |template 'pair' used as
                   |template                    |template
   Target Milestone|4.1.3                       |4.2.5


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


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

* [Bug c++/29469] [DR 224] [4.2/4.3/4.4 Regression]  error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (13 preceding siblings ...)
  2008-07-04 21:38 ` [Bug c++/29469] [DR 224] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2009-03-03 21:10 ` jason at gcc dot gnu dot org
  2009-03-04 11:58 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-03-03 21:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from jason at gcc dot gnu dot org  2009-03-03 21:10 -------
I don't see any open issues about DR 224 since it went into the WP. 
Unsuspending, P3.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu dot org
             Status|SUSPENDED                   |NEW
           Priority|P4                          |P3
   Last reconfirmed|2008-01-08 16:16:42         |2009-03-03 21:10:30
               date|                            |


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


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

* [Bug c++/29469] [DR 224] [4.2/4.3/4.4 Regression]  error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (14 preceding siblings ...)
  2009-03-03 21:10 ` jason at gcc dot gnu dot org
@ 2009-03-04 11:58 ` rguenth at gcc dot gnu dot org
  2009-03-04 16:54 ` jason at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-03-04 11:58 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug c++/29469] [DR 224] [4.2/4.3/4.4 Regression]  error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (15 preceding siblings ...)
  2009-03-04 11:58 ` rguenth at gcc dot gnu dot org
@ 2009-03-04 16:54 ` jason at gcc dot gnu dot org
  2009-03-04 18:43 ` jason at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-03-04 16:54 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2009-03-03 21:10:30         |2009-03-04 16:54:14
               date|                            |


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


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

* [Bug c++/29469] [DR 224] [4.2/4.3/4.4 Regression]  error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (16 preceding siblings ...)
  2009-03-04 16:54 ` jason at gcc dot gnu dot org
@ 2009-03-04 18:43 ` jason at gcc dot gnu dot org
  2009-03-04 19:38 ` jason at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-03-04 18:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from jason at gcc dot gnu dot org  2009-03-04 18:42 -------
Subject: Bug 29469

Author: jason
Date: Wed Mar  4 18:42:17 2009
New Revision: 144618

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144618
Log:
        PR c++/9634
        PR c++/29469
        PR c++/29607
        * decl.c (make_typename_type): Do look inside currently open classes.
        * parser.c (cp_parser_lookup_name): Likewise.
        (cp_parser_template_name): Likewise.
        * pt.c (dependent_scope_p): New function.
        * cp-tree.h: Declare it.
        * class.c (currently_open_class): Return fast if T isn't a class.

Added:
    trunk/gcc/testsuite/g++.dg/template/dependent-name5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/29469] [DR 224] [4.2/4.3/4.4 Regression]  error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (17 preceding siblings ...)
  2009-03-04 18:43 ` jason at gcc dot gnu dot org
@ 2009-03-04 19:38 ` jason at gcc dot gnu dot org
  2009-03-04 19:41 ` jason at gcc dot gnu dot org
  2009-04-03 17:32 ` jason at gcc dot gnu dot org
  20 siblings, 0 replies; 23+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-03-04 19:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from jason at gcc dot gnu dot org  2009-03-04 19:38 -------
Subject: Bug 29469

Author: jason
Date: Wed Mar  4 19:37:43 2009
New Revision: 144621

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144621
Log:
        PR c++/9634
        PR c++/29469
        PR c++/29607
        Implement DR 224.
        * decl.c (make_typename_type): Do look inside currently open classes.
        * parser.c (cp_parser_lookup_name): Likewise.
        (cp_parser_template_name): Likewise.
        * pt.c (dependent_scope_p): New function.
        * cp-tree.h: Declare it.
        * class.c (currently_open_class): Return fast if T isn't a class.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/template/dependent-name5.C
      - copied unchanged from r144618,
trunk/gcc/testsuite/g++.dg/template/dependent-name5.C
Modified:
    branches/gcc-4_3-branch/gcc/cp/ChangeLog
    branches/gcc-4_3-branch/gcc/cp/class.c
    branches/gcc-4_3-branch/gcc/cp/cp-tree.h
    branches/gcc-4_3-branch/gcc/cp/decl.c
    branches/gcc-4_3-branch/gcc/cp/parser.c
    branches/gcc-4_3-branch/gcc/cp/pt.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/29469] [DR 224] [4.2/4.3/4.4 Regression]  error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (18 preceding siblings ...)
  2009-03-04 19:38 ` jason at gcc dot gnu dot org
@ 2009-03-04 19:41 ` jason at gcc dot gnu dot org
  2009-04-03 17:32 ` jason at gcc dot gnu dot org
  20 siblings, 0 replies; 23+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-03-04 19:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from jason at gcc dot gnu dot org  2009-03-04 19:40 -------
Fixed for 4.3 and 4.4, not applying to 4.2.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.2.5                       |4.3.4


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


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

* [Bug c++/29469] [DR 224] [4.2/4.3/4.4 Regression]  error: non-template 'pair' used as template
  2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
                   ` (19 preceding siblings ...)
  2009-03-04 19:41 ` jason at gcc dot gnu dot org
@ 2009-04-03 17:32 ` jason at gcc dot gnu dot org
  20 siblings, 0 replies; 23+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-04-03 17:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from jason at gcc dot gnu dot org  2009-04-03 17:32 -------
Subject: Bug 29469

Author: jason
Date: Fri Apr  3 17:31:38 2009
New Revision: 145510

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145510
Log:
Revert:
        PR c++/9634
        PR c++/29469
        PR c++/29607
        Implement DR 224.
        * decl.c (make_typename_type): Do look inside currently open classes.
        * parser.c (cp_parser_lookup_name): Likewise.
        (cp_parser_template_name): Likewise.
        * pt.c (dependent_scope_p): New function.
        * cp-tree.h: Declare it.
        * class.c (currently_open_class): Return fast if T isn't a class.

Removed:
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/template/dependent-name5.C
Modified:
    branches/gcc-4_3-branch/gcc/cp/ChangeLog
    branches/gcc-4_3-branch/gcc/cp/class.c
    branches/gcc-4_3-branch/gcc/cp/cp-tree.h
    branches/gcc-4_3-branch/gcc/cp/decl.c
    branches/gcc-4_3-branch/gcc/cp/parser.c
    branches/gcc-4_3-branch/gcc/cp/pt.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


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


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

end of thread, other threads:[~2009-04-03 17:32 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-14 17:37 [Bug c++/29469] New: error: non-template 'pair' used as template tbm at cyrius dot com
2006-10-14 17:37 ` [Bug c++/29469] " tbm at cyrius dot com
2006-10-14 17:48 ` pinskia at gcc dot gnu dot org
2006-10-14 18:11 ` [Bug c++/29469] [DR 224] " pinskia at gcc dot gnu dot org
2006-10-14 18:15 ` pinskia at gcc dot gnu dot org
2006-10-14 18:25 ` pinskia at gcc dot gnu dot org
2006-10-14 18:26   ` Andrew Pinski
2006-10-14 18:26 ` pinskia at gmail dot com
2006-10-16  1:25 ` [Bug c++/29469] [DR 224] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-11-13  3:40 ` [Bug c++/29469] [DR 224] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
2007-02-14  9:21 ` mmitchel at gcc dot gnu dot org
2007-12-16 23:20 ` steven at gcc dot gnu dot org
2008-01-08 16:21 ` steven at gcc dot gnu dot org
2008-01-08 16:23 ` steven at gcc dot gnu dot org
2008-01-21 16:39 ` jsm28 at gcc dot gnu dot org
2008-07-04 21:38 ` [Bug c++/29469] [DR 224] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2009-03-03 21:10 ` jason at gcc dot gnu dot org
2009-03-04 11:58 ` rguenth at gcc dot gnu dot org
2009-03-04 16:54 ` jason at gcc dot gnu dot org
2009-03-04 18:43 ` jason at gcc dot gnu dot org
2009-03-04 19:38 ` jason at gcc dot gnu dot org
2009-03-04 19:41 ` jason at gcc dot gnu dot org
2009-04-03 17:32 ` jason 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).