From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13329 invoked by alias); 5 Feb 2004 21:51:21 -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 13317 invoked by uid 48); 5 Feb 2004 21:51:21 -0000 Date: Thu, 05 Feb 2004 21:51:00 -0000 Message-ID: <20040205215121.13316.qmail@sources.redhat.com> From: "bangerth at dealii dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040205205432.14032.tschwinger@neoscientists.org> References: <20040205205432.14032.tschwinger@neoscientists.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/14032] non type boolean template argument partial specialization to argument in parent never matches X-Bugzilla-Reason: CC X-SW-Source: 2004-02/txt/msg00672.txt.bz2 List-Id: ------- Additional Comments From bangerth at dealii dot org 2004-02-05 21:51 ------- Confirmed. Reduced, this looks so: --------------------------- template struct outer { template struct inner { static int f() { return inner::N; }; }; template struct inner { static const int N = 1; }; }; int i = outer::inner::f(); --------------------------- This should compile, since in f() we should look into the specialization, but we don't. And never did. W. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Known to fail|3.3.1 3.2.3 |3.3.1 3.2.3 2.95.3 3.4.0 | |3.5.0 Last reconfirmed|0000-00-00 00:00:00 |2004-02-05 21:51:20 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14032