From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23939 invoked by alias); 18 Aug 2004 12:57:36 -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 23919 invoked by uid 48); 18 Aug 2004 12:57:35 -0000 Date: Wed, 18 Aug 2004 12:57:00 -0000 Message-ID: <20040818125735.23918.qmail@sourceware.org> From: "reichelt at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040818123212.17080.pippadav@dei.unipd.it> References: <20040818123212.17080.pippadav@dei.unipd.it> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/17080] internal compiler error on template class in template class; X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg01794.txt.bz2 List-Id: ------- Additional Comments From reichelt at gcc dot gnu dot org 2004-08-18 12:57 ------- Your code is invalid. You should write template class Collection : public SubClass::template CoreService> instead of template class Collection : public SubClass::CoreService> The code then compiles fine (since gcc 3.1). The ICE for the invalid code was fixed in gcc 3.4.0, and since it's not a regression I'm closing the PR. (I'm sure it's a duplicate of some other PR, but I can't find which one.) -- What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu dot | |org Status|UNCONFIRMED |RESOLVED Resolution| |FIXED Target Milestone|--- |3.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17080