From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29531 invoked by alias); 6 Dec 2012 16:33:41 -0000 Received: (qmail 29392 invoked by uid 48); 6 Dec 2012 16:33:10 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55576] Fails to compile a call to template member function Date: Thu, 06 Dec 2012 16:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Last reconfirmed Resolution Ever Confirmed Message-ID: In-Reply-To: References: 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-12/txt/msg00571.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |NEW Last reconfirmed| |2012-12-06 Resolution|INVALID | Ever Confirmed|0 |1 --- Comment #9 from Jason Merrill 2012-12-06 16:33:09 UTC --- 3.4.5 seems clear on this point: The identifier is first looked up in the class of the object expression. If the identifier is not found, it is then looked up in the context of the entire postfix-expression and shall name a class template. So the testcase in comment 3 is valid.