From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27277 invoked by alias); 12 Oct 2012 17:01:27 -0000 Received: (qmail 27084 invoked by uid 48); 12 Oct 2012 17:00:44 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54913] New: [4.8 Regression] '#'indirect_ref' not supported by dump_decl#' is not a member of 'E' Date: Fri, 12 Oct 2012 17:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-10/txt/msg01209.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54913 Bug #: 54913 Summary: [4.8 Regression] '#'indirect_ref' not supported by dump_decl#' 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 struct R : Node { R(E &g) : r(g.f(*this,E::N)) {} int r; }; int main() { E e; R n(e); } e.cc: In instantiation of 'R::R(E&) [with T = int]': e.cc:25:15: required from here e.cc:15:21: error: '#'indirect_ref' not supported by dump_decl#' is not a member of 'E' : r(g.f(*this,E::N)) ^