From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30334 invoked by alias); 3 Feb 2004 20:17:01 -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 30317 invoked by uid 48); 3 Feb 2004 20:17:00 -0000 Date: Tue, 03 Feb 2004 20:17:00 -0000 Message-ID: <20040203201700.30316.qmail@sources.redhat.com> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040203195712.14007.austern@apple.com> References: <20040203195712.14007.austern@apple.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/14007] [3.3/3.4/3.5 Regression] Incorrect use of const partial specialization for reference template argument X-Bugzilla-Reason: CC X-SW-Source: 2004-02/txt/msg00433.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-03 20:16 ------- Here is something which is easy for regression testers to reject: template struct X { enum { val = 0 }; }; template struct X { enum { val = 1 }; }; int i[X::val == 0?1:-1]; Confirmed. >>From Phil's regression hunter: Search converges between 2002-02-17-trunk (#59) and 2002-02-24- trunk (#60). -- What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |critical Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |rejects-valid, wrong-code Known to fail| |3.3.1 3.2.3 3.2.2 3.4.0 | |3.5.0 Known to work| |3.0.4 2.95.3 Priority|P2 |P1 Last reconfirmed|0000-00-00 00:00:00 |2004-02-03 20:16:58 date| | Summary|Incorrect use of const |[3.3/3.4/3.5 Regression] |partial specialization for |Incorrect use of const |reference template argument |partial specialization for | |reference template argument Target Milestone|--- |3.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14007