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

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

Thread overview: 9+ 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

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).