From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9225 invoked by alias); 1 Apr 2008 01:50:43 -0000 Received: (qmail 3847 invoked by uid 48); 1 Apr 2008 01:49:51 -0000 Date: Tue, 01 Apr 2008 01:50:00 -0000 Subject: [Bug c++/35784] New: Bogus inaccessibility error on variadic partial template specialization. X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "gcc-bugzilla at contacts dot eelis dot net" 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: 2008-04/txt/msg00008.txt.bz2 Consider: template struct p; template struct d; template struct d, p > { typedef int t; }; typedef d, p >::t q; typedef d, p >::t> r; // * typedef d, p >::t, d, p<> >::t> s; // error: ‘typedef int d, p >::t’ is inaccessible within this context The error makes no sense. In fact, it disappears if the unrelated line marked with an asterisk is removed. -- Summary: Bogus inaccessibility error on variadic partial template specialization. Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at contacts dot eelis dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35784