public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base
       [not found] <bug-950-1845@http.gcc.gnu.org/bugzilla/>
@ 2007-03-29 15:14 ` bangerth at dealii dot org
  2008-09-10 15:28 ` bangerth at dealii dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: bangerth at dealii dot org @ 2007-03-29 15:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from bangerth at dealii dot org  2007-03-29 16:13 -------
Still happens with 4.1.2


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at dealii dot org
      Known to fail|3.4.4 4.0.1 4.1.0           |3.4.4 4.0.1 4.1.0 4.1.2


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


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

* [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base
       [not found] <bug-950-1845@http.gcc.gnu.org/bugzilla/>
  2007-03-29 15:14 ` [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base bangerth at dealii dot org
@ 2008-09-10 15:28 ` bangerth at dealii dot org
  2009-11-18  5:24 ` jason at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: bangerth at dealii dot org @ 2008-09-10 15:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from bangerth at dealii dot org  2008-09-10 15:26 -------
Still happens with gcc version 4.4.0 20080801 (experimental) [trunk revision
138448]


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2006-09-03 21:39:06         |2008-09-10 15:26:47
               date|                            |


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


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

* [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base
       [not found] <bug-950-1845@http.gcc.gnu.org/bugzilla/>
  2007-03-29 15:14 ` [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base bangerth at dealii dot org
  2008-09-10 15:28 ` bangerth at dealii dot org
@ 2009-11-18  5:24 ` jason at gcc dot gnu dot org
  2009-11-18  5:43 ` jason at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-18  5:24 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|2008-09-10 15:26:47         |2009-11-18 05:24:04
               date|                            |


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


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

* [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base
       [not found] <bug-950-1845@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2009-11-18  5:24 ` jason at gcc dot gnu dot org
@ 2009-11-18  5:43 ` jason at gcc dot gnu dot org
  2009-11-18 15:52 ` jason at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-18  5:43 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 820 bytes --]



------- Comment #13 from jason at gcc dot gnu dot org  2009-11-18 05:43 -------
5.3.1 [expr.unary.op] paragraph 3:

...If the member is a non-static member of class C of type T, the type of the
result is “pointer to member of class C of type T.” [ Example:
     struct A { int i; };
     struct B : A { };
                          // has type int A::*
     ... &B::i ...
   — end example ]

So, the type of &D::a is the same as the type of &B::a, and this is not a bug.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID


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


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

* [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base
       [not found] <bug-950-1845@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2009-11-18  5:43 ` jason at gcc dot gnu dot org
@ 2009-11-18 15:52 ` jason at gcc dot gnu dot org
  2009-11-18 21:55 ` jason at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-18 15:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from jason at gcc dot gnu dot org  2009-11-18 15:51 -------
Created an attachment (id=19035)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19035&action=view)
patch

If this were a bug, this would be the fix.


-- 


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


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

* [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base
       [not found] <bug-950-1845@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2009-11-18 21:55 ` jason at gcc dot gnu dot org
@ 2009-11-18 21:55 ` jason at gcc dot gnu dot org
  2010-02-19 21:44 ` [Bug c++/950] [DR 203] " jason at gcc dot gnu dot org
  2010-02-19 21:44 ` jason at gcc dot gnu dot org
  8 siblings, 0 replies; 16+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-18 21:55 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |SUSPENDED


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


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

* [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base
       [not found] <bug-950-1845@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2009-11-18 15:52 ` jason at gcc dot gnu dot org
@ 2009-11-18 21:55 ` jason at gcc dot gnu dot org
  2009-11-18 21:55 ` jason at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-18 21:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from jason at gcc dot gnu dot org  2009-11-18 21:55 -------
Actually, this is issue 203, so I'll suspend it instead of closing.

http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#203


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |


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


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

* [Bug c++/950] [DR 203] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base
       [not found] <bug-950-1845@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2010-02-19 21:44 ` [Bug c++/950] [DR 203] " jason at gcc dot gnu dot org
@ 2010-02-19 21:44 ` jason at gcc dot gnu dot org
  8 siblings, 0 replies; 16+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-02-19 21:44 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu dot org
             Status|NEW                         |SUSPENDED


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


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

* [Bug c++/950] [DR 203] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base
       [not found] <bug-950-1845@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2009-11-18 21:55 ` jason at gcc dot gnu dot org
@ 2010-02-19 21:44 ` jason at gcc dot gnu dot org
  2010-02-19 21:44 ` jason at gcc dot gnu dot org
  8 siblings, 0 replies; 16+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-02-19 21:44 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|jason at gcc dot gnu dot org|unassigned at gcc dot gnu
                   |                            |dot org
             Status|SUSPENDED                   |NEW


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


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

* [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base
       [not found] <20001130221600.950.peteb@sitera.com>
                   ` (5 preceding siblings ...)
  2004-11-26 15:34 ` pinskia at gcc dot gnu dot org
@ 2005-09-09 12:42 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-09-09 12:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rguenth at gcc dot gnu dot org  2005-09-09 12:42 -------
EDG likes this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |3.4.4 4.0.1 4.1.0
   Last reconfirmed|2005-09-04 18:18:20         |2005-09-09 12:42:23
               date|                            |


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


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

* [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base
       [not found] <20001130221600.950.peteb@sitera.com>
                   ` (4 preceding siblings ...)
  2003-11-16  0:00 ` pinskia at gcc dot gnu dot org
@ 2004-11-26 15:34 ` pinskia at gcc dot gnu dot org
  2005-09-09 12:42 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-26 15:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-26 15:34 -------
*** Bug 18681 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wolfgang dot roehrl at de
                   |                            |dot gi-de dot com


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


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

* [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base
       [not found] <20001130221600.950.peteb@sitera.com>
                   ` (3 preceding siblings ...)
  2003-08-19 13:21 ` pinskia at gcc dot gnu dot org
@ 2003-11-16  0:00 ` pinskia at gcc dot gnu dot org
  2004-11-26 15:34 ` pinskia at gcc dot gnu dot org
  2005-09-09 12:42 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-16  0:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-16 00:00 -------
*** Bug 13063 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kafka dot fr at laposte dot
                   |                            |net


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


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

* [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base
       [not found] <20001130221600.950.peteb@sitera.com>
                   ` (2 preceding siblings ...)
  2003-08-13 18:49 ` pinskia at gcc dot gnu dot org
@ 2003-08-19 13:21 ` pinskia at gcc dot gnu dot org
  2003-11-16  0:00 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-19 13:21 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Last reconfirmed|2003-08-02 03:52:01         |2003-08-19 13:21:10
               date|                            |


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

* [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base
       [not found] <20001130221600.950.peteb@sitera.com>
  2003-05-24 22:41 ` [Bug c++/950] " pinskia@physics.uc.edu
  2003-08-13 18:45 ` pinskia at gcc dot gnu dot org
@ 2003-08-13 18:49 ` pinskia at gcc dot gnu dot org
  2003-08-19 13:21 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-13 18:49 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schnetter at uni-tuebingen
                   |                            |dot de


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-13 18:49 -------
*** Bug 11906 has been marked as a duplicate of this bug. ***


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

* [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base
       [not found] <20001130221600.950.peteb@sitera.com>
  2003-05-24 22:41 ` [Bug c++/950] " pinskia@physics.uc.edu
@ 2003-08-13 18:45 ` pinskia at gcc dot gnu dot org
  2003-08-13 18:49 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-13 18:45 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlo at alinoe dot com


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-13 18:45 -------
*** Bug 9032 has been marked as a duplicate of this bug. ***


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

* [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base
       [not found] <20001130221600.950.peteb@sitera.com>
@ 2003-05-24 22:41 ` pinskia@physics.uc.edu
  2003-08-13 18:45 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 16+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-24 22:41 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-05-04 00:00:00         |2003-05-24 22:28:15
               date|                            |


------- Additional Comments From pinskia@physics.uc.edu  2003-05-24 22:28 -------
still happens with the mainline (20030524).

pr950.cc: In function `int main()':
pr950.cc:12: error: no matching function for call to `X<D>::foo(int&, void 
   (B::*)(int))'



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2010-02-19 21:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-950-1845@http.gcc.gnu.org/bugzilla/>
2007-03-29 15:14 ` [Bug c++/950] Template problem: decay of pointer-to-member-of-derived to p-o-m-o-base bangerth at dealii dot org
2008-09-10 15:28 ` bangerth at dealii dot org
2009-11-18  5:24 ` jason at gcc dot gnu dot org
2009-11-18  5:43 ` jason at gcc dot gnu dot org
2009-11-18 15:52 ` jason at gcc dot gnu dot org
2009-11-18 21:55 ` jason at gcc dot gnu dot org
2009-11-18 21:55 ` jason at gcc dot gnu dot org
2010-02-19 21:44 ` [Bug c++/950] [DR 203] " jason at gcc dot gnu dot org
2010-02-19 21:44 ` jason at gcc dot gnu dot org
     [not found] <20001130221600.950.peteb@sitera.com>
2003-05-24 22:41 ` [Bug c++/950] " pinskia@physics.uc.edu
2003-08-13 18:45 ` pinskia at gcc dot gnu dot org
2003-08-13 18:49 ` pinskia at gcc dot gnu dot org
2003-08-19 13:21 ` pinskia at gcc dot gnu dot org
2003-11-16  0:00 ` pinskia at gcc dot gnu dot org
2004-11-26 15:34 ` pinskia at gcc dot gnu dot org
2005-09-09 12:42 ` rguenth 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).