public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54913] New: [4.8 Regression] '#'indirect_ref' not supported by dump_decl#<declaration error>' is not a member of 'E' Date: Fri, 12 Oct 2012 17:01:00 -0000 [thread overview] Message-ID: <bug-54913-4@http.gcc.gnu.org/bugzilla/> (raw) 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)) ^
next reply other threads:[~2012-10-12 17:01 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-10-12 17:01 redi at gcc dot gnu.org [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-54913-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).