public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29607]  New: code fails to build with 4.1 20061020, which built with 20060901
@ 2006-10-26 17:42 debian-gcc at lists dot debian dot org
  2006-10-26 17:43 ` [Bug c++/29607] " debian-gcc at lists dot debian dot org
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-10-26 17:42 UTC (permalink / raw)
  To: gcc-bugs

the wvstreams package fails to build:

  Matthias
x86_64-linux-gnu-g++ -Wall -save-temps -O2  -D_BSD_SOURCE -D_GNU_SOURCE
-DISLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall
-I/usr/include/tcl8.3 -I/usr/include -I/usr/include/qt3
-I/usr/include/xplc-0.3.13    -I./include -Iinclude -Iinclude -Ignulib -pipe 
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall  
-D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual -fno-rtti
-fno-exceptions -I/usr/include/tcl8.3 -I/usr/include -I/usr/include/qt3
-I/usr/include/xplc-0.3.13    -I./include -Iinclude -Iinclude -Ignulib -pipe 
-fpermissive -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2
-Wall -Woverloaded-virtual -DWVSTREAMS_RELEASE=\"4.2.2\"     -c
utils/wvvector.cc -o utils/wvvector.o

x86_64-linux-gnu-g++: warning: -pipe ignored because -save-temps specified
./include/wvvector.h: In member function 'T* WvVector<T>::Iter::ptr() const':
./include/wvvector.h:361: warning: there are no arguments to 'cur' that depend
on a template parameter, so a declaration of 'cur' must be available
./include/wvvector.h: In member function 'bool
WvVector<T>::Iter::get_autofree() const':
./include/wvvector.h:371: error: 'link' was not declared in this scope
./include/wvvector.h: In member function 'void
WvVector<T>::Iter::set_autofree(bool)':
./include/wvvector.h:379: error: 'link' was not declared in this scope
./include/wvvector.h: In member function 'void
WvVector<T>::Iter::remove(bool)':
./include/wvvector.h:389: error: 'i' was not declared in this scope
./include/wvvector.h: In member function 'void
WvVector<T>::Iter::xremove(bool)':
./include/wvvector.h:407: error: 'i' was not declared in this scope
./include/wvvector.h:408: warning: there are no arguments to 'prev' that depend
on a template parameter, so a declaration of 'prev' must be available
make: *** [utils/wvvector.o] Error 1


-- 
           Summary: code fails to build with 4.1 20061020, which built with
                    20060901
           Product: gcc
           Version: 3.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org


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


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

* [Bug c++/29607] code fails to build with 4.1 20061020, which built with 20060901
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
@ 2006-10-26 17:43 ` debian-gcc at lists dot debian dot org
  2006-10-26 17:59 ` pinskia at gcc dot gnu dot org
                   ` (22 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-10-26 17:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from debian-gcc at lists dot debian dot org  2006-10-26 17:42 -------
Created an attachment (id=12497)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12497&action=view)
preprocessed source


-- 


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


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

* [Bug c++/29607] code fails to build with 4.1 20061020, which built with 20060901
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
  2006-10-26 17:43 ` [Bug c++/29607] " debian-gcc at lists dot debian dot org
@ 2006-10-26 17:59 ` pinskia at gcc dot gnu dot org
  2006-10-26 18:22 ` debian-gcc at lists dot debian dot org
                   ` (21 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-26 17:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-10-26 17:58 -------
-fpermissive

That shows this code is most likely invalid code anyways.


-- 


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


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

* [Bug c++/29607] code fails to build with 4.1 20061020, which built with 20060901
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
  2006-10-26 17:43 ` [Bug c++/29607] " debian-gcc at lists dot debian dot org
  2006-10-26 17:59 ` pinskia at gcc dot gnu dot org
@ 2006-10-26 18:22 ` debian-gcc at lists dot debian dot org
  2006-10-26 19:52 ` pinskia at gcc dot gnu dot org
                   ` (20 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-10-26 18:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from debian-gcc at lists dot debian dot org  2006-10-26 18:22 -------
without -fpermissive:

x86_64-linux-gnu-g++ -Wall -save-temps -O2  -D_BSD_SOURCE -D_GNU_SOURCE
-DISLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall
-I/usr/include/tcl8.3 -I/usr/include -I/usr/include/qt3
-I/usr/include/xplc-0.3.13    -I./include -Iinclude -Iinclude -Ignulib -pipe 
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall  
-D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual -fno-rtti
-fno-exceptions -I/usr/include/tcl8.3 -I/usr/include -I/usr/include/qt3
-I/usr/include/xplc-0.3.13    -I./include -Iinclude -Iinclude -Ignulib
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall
-Woverloaded-virtual -DWVSTREAMS_RELEASE=\"4.2.2\"     -c utils/wvvector.cc -o
utils/wvvector.o
x86_64-linux-gnu-g++: warning: -pipe ignored because -save-temps specified
./include/wvvector.h: In member function 'T* WvVector<T>::Iter::ptr() const':
./include/wvvector.h:361: error: there are no arguments to 'cur' that depend on
a template parameter, so a declaration of 'cur' must be available
./include/wvvector.h:361: error: (if you use '-fpermissive', G++ will accept
your code, but allowing the use of an undeclared name is deprecated)
./include/wvvector.h: In member function 'bool
WvVector<T>::Iter::get_autofree() const':
./include/wvvector.h:371: error: 'link' was not declared in this scope
./include/wvvector.h: In member function 'void
WvVector<T>::Iter::set_autofree(bool)':
./include/wvvector.h:379: error: 'link' was not declared in this scope
./include/wvvector.h: In member function 'void
WvVector<T>::Iter::remove(bool)':
./include/wvvector.h:389: error: 'i' was not declared in this scope
./include/wvvector.h: In member function 'void
WvVector<T>::Iter::xremove(bool)':
./include/wvvector.h:407: error: 'i' was not declared in this scope
./include/wvvector.h:408: error: there are no arguments to 'prev' that depend
on a template parameter, so a declaration of 'prev' must be available


-- 


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


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

* [Bug c++/29607] code fails to build with 4.1 20061020, which built with 20060901
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (2 preceding siblings ...)
  2006-10-26 18:22 ` debian-gcc at lists dot debian dot org
@ 2006-10-26 19:52 ` pinskia at gcc dot gnu dot org
  2006-10-26 20:07 ` pinskia at gcc dot gnu dot org
                   ` (19 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-26 19:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-10-26 19:52 -------
Reducing ...


-- 


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


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

* [Bug c++/29607] code fails to build with 4.1 20061020, which built with 20060901
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (3 preceding siblings ...)
  2006-10-26 19:52 ` pinskia at gcc dot gnu dot org
@ 2006-10-26 20:07 ` pinskia at gcc dot gnu dot org
  2006-10-26 20:12 ` [Bug c++/29607] [DR 224] [4.1/4.2 Regression] dependent name with base classes pinskia at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-26 20:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-10-26 20:07 -------
Reduced:
class WvLink{};
class WvVectorBase
{
    class IterBase
    {
       WvLink *cur() const{}
    };
};
template<class T>
class WvVector : public WvVectorBase
{
    class Iter  : public WvVector::IterBase
    {
      T *ptr() const
      {
        return static_cast<T *>(cur()->data);
      }
    };
};

-----
This comes to is WvVector dependent in the the context of WvVector::IterBase.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.1.2                       |4.1.2


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


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

* [Bug c++/29607] [DR 224] [4.1/4.2 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (4 preceding siblings ...)
  2006-10-26 20:07 ` pinskia at gcc dot gnu dot org
@ 2006-10-26 20:12 ` pinskia at gcc dot gnu dot org
  2006-10-26 23:23 ` debian-gcc at lists dot debian dot org
                   ` (17 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-26 20:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-10-26 20:12 -------
This is another DR 224 issue.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |9634, 29469
            Summary|code fails to build with 4.1|[DR 224] [4.1/4.2
                   |20061020, which built with  |Regression] dependent name
                   |20060901                    |with base classes
   Target Milestone|---                         |4.1.2


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


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

* [Bug c++/29607] [DR 224] [4.1/4.2 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (5 preceding siblings ...)
  2006-10-26 20:12 ` [Bug c++/29607] [DR 224] [4.1/4.2 Regression] dependent name with base classes pinskia at gcc dot gnu dot org
@ 2006-10-26 23:23 ` debian-gcc at lists dot debian dot org
  2006-10-27  1:12 ` janis at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-10-26 23:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from debian-gcc at lists dot debian dot org  2006-10-26 23:22 -------
that did work with 4.1 20061007, fails with 20061026.

A regression hunt would be appreciated ;)

  Matthias


-- 

debian-gcc at lists dot debian dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |janis at gcc dot gnu dot org


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


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

* [Bug c++/29607] [DR 224] [4.1/4.2 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (6 preceding siblings ...)
  2006-10-26 23:23 ` debian-gcc at lists dot debian dot org
@ 2006-10-27  1:12 ` janis at gcc dot gnu dot org
  2006-10-27  1:23 ` debian-gcc at lists dot debian dot org
                   ` (15 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: janis at gcc dot gnu dot org @ 2006-10-27  1:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from janis at gcc dot gnu dot org  2006-10-27 01:12 -------
A regression hunt using the testcase from comment #5 identified this patch:

    http://gcc.gnu.org/viewcvs?view=rev&rev=116409

    r116409 | nathan | 2006-08-25 16:56:07 +0000 (Fri, 25 Aug 2006)


-- 

janis at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nathan at gcc dot gnu dot
                   |                            |org


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


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

* [Bug c++/29607] [DR 224] [4.1/4.2 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (7 preceding siblings ...)
  2006-10-27  1:12 ` janis at gcc dot gnu dot org
@ 2006-10-27  1:23 ` debian-gcc at lists dot debian dot org
  2006-10-27  1:28 ` pinskia at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-10-27  1:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from debian-gcc at lists dot debian dot org  2006-10-27 01:23 -------
one of those patches introduces the regression on the 4.1 branch

  Matthias

r117852 | rguenth | 2006-10-18 11:18:07 +0200 (Wed, 18 Oct 2006) | 16 lines

2006-10-18  Richard Guenther  <rguenther@suse.de>

        PR C++/25878
        Backport from mainline:
        2006-08-25  Nathan Sidwell  <nathan@codesourcery.com>

        PR c++/27787
        * decl.c (make_typename_type): Only try and resolve it when
        context is not dependent.  Refactor.
        * decl2.c (check_classfn): Push to class scope before looking
        * for
        the function.

        * g++.dg/template/typename10.C: New.
        * g++.dg/template/lookup4.C: Remove bogus error marker.

------------------------------------------------------------------------
r117821 | rguenth | 2006-10-17 10:27:26 +0200 (Tue, 17 Oct 2006) | 14 lines

2006-10-17  Richard Guenther  <rguenther@suse.de>

        Backport from mainline:
        2006-09-07  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/28906
        * init.c (build_new_1): Build a distinct type copy
        for the array type that was returned from
        build_cplus_array_type.

        * g++.dg/other/array3.C: New test.
        * g++.dg/other/array4.C: New test.
        * g++.dg/other/array5.C: New test.


-- 

debian-gcc at lists dot debian dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org, pinskia at gcc dot gnu
                   |                            |dot org


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


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

* [Bug c++/29607] [DR 224] [4.1/4.2 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (8 preceding siblings ...)
  2006-10-27  1:23 ` debian-gcc at lists dot debian dot org
@ 2006-10-27  1:28 ` pinskia at gcc dot gnu dot org
  2006-11-13  3:38 ` [Bug c++/29607] [DR 224] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-27  1:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from pinskia at gcc dot gnu dot org  2006-10-27 01:28 -------
(In reply to comment #9)
> one of those patches introduces the regression on the 4.1 branch

The backport of Nathan's patch caused it, though DR 224 is the questionable
problem here and reading the standard currently (without that Defect report),
this is actually invalid code.

The testcase in PR 29469 comment #5, shows that Defect report is bogus and
needs to be rethought.


-- 


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


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

* [Bug c++/29607] [DR 224] [4.1/4.2/4.3 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (9 preceding siblings ...)
  2006-10-27  1:28 ` pinskia at gcc dot gnu dot org
@ 2006-11-13  3:38 ` mmitchel at gcc dot gnu dot org
  2007-02-14  9:21 ` mmitchel at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-11-13  3:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from mmitchel at gcc dot gnu dot org  2006-11-13 03:38 -------
I am going to put these DR 224 issues into WAITING.  I don't think we really
know what the committee is going to do yet.

(Prior to that DR being put into the WP, I had a long discussion with John
Spicer.  My feeling is that in:

  template <typename T>
  struct S {
    ...S...
  }

S should be dependent.  DR 224 says that it should not dependent.

My feeling is that dependence should be an intrinsic property of a type,
independent of context.  John's feeling is that making its dependence
conditional makes things easier for programmers (although clearly harder for
compilers).  

For example, in the test case in Comment #5, one can in fact prove that
WxVector::IterBase is the global class, independent of any specializations. 
That is the argument it should not be dependent.  However, in:

  template <typename T>
  struct S { 
    ... sizeof(S) ...
  }

the sizeof expression must be value-dependent, even though S is not
type-dependent, which is odd.  (This case doesn't seem to be addressed by DR
224; AFAICT, DR 224 as written would make sizeof(S) non-dependent.  Clearly,
that could be fixed by explicitly noting this case.)  I find the fact that a
non-dependent type can have a dependent size to be weird.)


-- 

mmitchel at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/29607] [DR 224] [4.1/4.2/4.3 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (10 preceding siblings ...)
  2006-11-13  3:38 ` [Bug c++/29607] [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)
  23 siblings, 0 replies; 25+ 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=29607


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

* [Bug c++/29607] [DR 224] [4.1/4.2/4.3 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (11 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:26 ` steven at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: steven at gcc dot gnu dot org @ 2007-12-16 23:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from steven at gcc dot gnu dot org  2007-12-16 23:19 -------
If we are waiting for a DR, this PR should be SUSPENDED, not WAITING.


-- 

steven at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/29607] [DR 224] [4.1/4.2/4.3 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (12 preceding siblings ...)
  2007-12-16 23:20 ` steven at gcc dot gnu dot org
@ 2008-01-08 16:26 ` steven at gcc dot gnu dot org
  2008-01-08 16:30 ` steven at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: steven at gcc dot gnu dot org @ 2008-01-08 16:26 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:17:08
               date|                            |


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


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

* [Bug c++/29607] [DR 224] [4.1/4.2/4.3 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (13 preceding siblings ...)
  2008-01-08 16:26 ` steven at gcc dot gnu dot org
@ 2008-01-08 16:30 ` steven at gcc dot gnu dot org
  2008-01-21 16:42 ` jsm28 at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: steven at gcc dot gnu dot org @ 2008-01-08 16:30 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=29607


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

* [Bug c++/29607] [DR 224] [4.1/4.2/4.3 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (14 preceding siblings ...)
  2008-01-08 16:30 ` steven at gcc dot gnu dot org
@ 2008-01-21 16:42 ` jsm28 at gcc dot gnu dot org
  2008-07-04 21:44 ` [Bug c++/29607] [DR 224] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-01-21 16:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from jsm28 at gcc dot gnu dot org  2008-01-21 16:32 -------
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=29607


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

* [Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (15 preceding siblings ...)
  2008-01-21 16:42 ` jsm28 at gcc dot gnu dot org
@ 2008-07-04 21:44 ` jsm28 at gcc dot gnu dot org
  2009-03-03 21:14 ` jason at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 21:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from jsm28 at gcc dot gnu dot org  2008-07-04 21:43 -------
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] dependent name  |Regression] dependent name
                   |with base classes           |with base classes
   Target Milestone|4.1.3                       |4.2.5


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


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

* [Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (16 preceding siblings ...)
  2008-07-04 21:44 ` [Bug c++/29607] [DR 224] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2009-03-03 21:14 ` jason at gcc dot gnu dot org
  2009-03-04 12:06 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-03-03 21:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from jason at gcc dot gnu dot org  2009-03-03 21:14 -------
I don't see any justification for suspending DR 224 PRs when there isn't an
open core issue about the alleged problems.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |NEW
           Priority|P4                          |P3
   Last reconfirmed|2008-01-08 16:17:08         |2009-03-03 21:14:04
               date|                            |


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


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

* [Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (17 preceding siblings ...)
  2009-03-03 21:14 ` jason at gcc dot gnu dot org
@ 2009-03-04 12:06 ` rguenth at gcc dot gnu dot org
  2009-03-04 14:48 ` jason at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-03-04 12:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from rguenth at gcc dot gnu dot org  2009-03-04 12:05 -------
Testcase from comment #5 in a form that is valid if DR 224 is implemented
(and which EDG accepts without warnings and errors):

class WvLink { WvLink *data; };
class WvVectorBase
{
  class IterBase
    {
      WvLink *cur() const;
    };
};
template<class T>
class WvVector : public WvVectorBase
{
  class Iter  : public WvVector::IterBase
  {
    T *ptr() const
      {
        return static_cast<T *>(cur()->data);
      }
  };
};


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
           Priority|P3                          |P2
   Last reconfirmed|2009-03-03 21:14:04         |2009-03-04 12:05:56
               date|                            |


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


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

* [Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (18 preceding siblings ...)
  2009-03-04 12:06 ` rguenth at gcc dot gnu dot org
@ 2009-03-04 14:48 ` jason at gcc dot gnu dot org
  2009-03-04 18:43 ` jason at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-03-04 14:48 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-04 12:05:56         |2009-03-04 14:48:18
               date|                            |


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


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

* [Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (19 preceding siblings ...)
  2009-03-04 14:48 ` 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)
  23 siblings, 0 replies; 25+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-03-04 18:43 UTC (permalink / raw)
  To: gcc-bugs



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

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=29607


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

* [Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (20 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
  23 siblings, 0 replies; 25+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-03-04 19:38 UTC (permalink / raw)
  To: gcc-bugs



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

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=29607


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

* [Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (21 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
  23 siblings, 0 replies; 25+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-03-04 19:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from jason at gcc dot gnu dot org  2009-03-04 19:41 -------
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=29607


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

* [Bug c++/29607] [DR 224] [4.2/4.3/4.4 Regression] dependent name with base classes
  2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
                   ` (22 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
  23 siblings, 0 replies; 25+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-04-03 17:32 UTC (permalink / raw)
  To: gcc-bugs



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

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=29607


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

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

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-26 17:42 [Bug c++/29607] New: code fails to build with 4.1 20061020, which built with 20060901 debian-gcc at lists dot debian dot org
2006-10-26 17:43 ` [Bug c++/29607] " debian-gcc at lists dot debian dot org
2006-10-26 17:59 ` pinskia at gcc dot gnu dot org
2006-10-26 18:22 ` debian-gcc at lists dot debian dot org
2006-10-26 19:52 ` pinskia at gcc dot gnu dot org
2006-10-26 20:07 ` pinskia at gcc dot gnu dot org
2006-10-26 20:12 ` [Bug c++/29607] [DR 224] [4.1/4.2 Regression] dependent name with base classes pinskia at gcc dot gnu dot org
2006-10-26 23:23 ` debian-gcc at lists dot debian dot org
2006-10-27  1:12 ` janis at gcc dot gnu dot org
2006-10-27  1:23 ` debian-gcc at lists dot debian dot org
2006-10-27  1:28 ` pinskia at gcc dot gnu dot org
2006-11-13  3:38 ` [Bug c++/29607] [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:26 ` steven at gcc dot gnu dot org
2008-01-08 16:30 ` steven at gcc dot gnu dot org
2008-01-21 16:42 ` jsm28 at gcc dot gnu dot org
2008-07-04 21:44 ` [Bug c++/29607] [DR 224] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2009-03-03 21:14 ` jason at gcc dot gnu dot org
2009-03-04 12:06 ` rguenth at gcc dot gnu dot org
2009-03-04 14:48 ` 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).