public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/54913] New: [4.8 Regression] '#'indirect_ref' not supported by dump_decl#<declaration error>' is not a member of 'E'
@ 2012-10-12 17:01 redi at gcc dot gnu.org
  2012-10-12 17:02 ` [Bug c++/54913] " redi at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: redi at gcc dot gnu.org @ 2012-10-12 17:01 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 54913
           Summary: [4.8 Regression] '#'indirect_ref' not supported by
                    dump_decl#<declaration error>' is not a member of 'E'
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: redi@gcc.gnu.org


struct Node { };

struct E
{
    class K {};
    static const K &N;

    int f(Node&, const K&);
};

template<typename T>
struct R : Node
{
        R(E &g)
        : r(g.f(*this,E::N))
        {}

    int r;
};


int main()
{
    E e;
    R<int> n(e);
}


e.cc: In instantiation of 'R<T>::R(E&) [with T = int]':
e.cc:25:15:   required from here
e.cc:15:21: error: '#'indirect_ref' not supported by dump_decl#<declaration
error>' is not a member of 'E'
  : r(g.f(*this,E::N))
                     ^


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

end of thread, other threads:[~2012-12-06 20:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-12 17:01 [Bug c++/54913] New: [4.8 Regression] '#'indirect_ref' not supported by dump_decl#<declaration error>' is not a member of 'E' redi at gcc dot gnu.org
2012-10-12 17:02 ` [Bug c++/54913] " redi at gcc dot gnu.org
2012-10-12 17:13 ` paolo.carlini at oracle dot com
2012-10-13  0:00 ` redi at gcc dot gnu.org
2012-10-13 13:35 ` redi at gcc dot gnu.org
2012-10-13 17:17 ` [Bug c++/54913] [4.8 Regression] qualified lookup in ctor of class template fails to find static member of reference type redi at gcc dot gnu.org
2012-10-15  9:52 ` rguenth at gcc dot gnu.org
2012-12-03 15:52 ` rguenth at gcc dot gnu.org
2012-12-06 15:30 ` jason at gcc dot gnu.org
2012-12-06 20:21 ` jason at gcc dot gnu.org
2012-12-06 20:23 ` jason at gcc dot gnu.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).