From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8209 invoked by alias); 19 Nov 2003 14:25:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 8190 invoked by uid 48); 19 Nov 2003 14:25:25 -0000 Date: Wed, 19 Nov 2003 14:25:00 -0000 Message-ID: <20031119142525.8188.qmail@sources.redhat.com> From: "lerdsuwa at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20031117223716.13092.giovannibajo@libero.it> References: <20031117223716.13092.giovannibajo@libero.it> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/13092] [3.4 regression] Segfault in convert_nontype_argument X-Bugzilla-Reason: CC X-SW-Source: 2003-11/txt/msg01744.txt.bz2 List-Id: ------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-11-19 14:25 ------- You can look at the example in section 11.5. In that example, &B::i and &D::i are really the same member but with different access. If we resolve the name early, the scope (whether it is 'B' or 'D') information is lost. And in case of those qualified-id in template, we cannot sure about its access until instantiation time (like when the function 'fr' in the example is changed to a template, and only some specialization is a friend class 'D2'). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13092