From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19332 invoked by alias); 24 Oct 2003 15:48:29 -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 19323 invoked by uid 48); 24 Oct 2003 15:48:28 -0000 Date: Fri, 24 Oct 2003 15:49:00 -0000 Message-ID: <20031024154828.19322.qmail@sources.redhat.com> From: "bangerth at dealii dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20031004132236.12507.rmerkert@alphatech.com> References: <20031004132236.12507.rmerkert@alphatech.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/12507] [3.3 Regression] use of template arg for fully specialized typedef allowed X-Bugzilla-Reason: CC X-SW-Source: 2003-10/txt/msg02143.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12507 bangerth at dealii dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[3.3 Regression] Possible |[3.3 Regression] use of |regression in 3.4 or bug in |template arg for fully |3.3.1 |specialized typedef allowed Version|3.4 |3.3.2 ------- Additional Comments From bangerth at dealii dot org 2003-10-24 15:48 ------- Here is a reduced testcase: ------------------------ template struct A { A() {}}; typedef A Ac; Ac a; ------------------------ gcc3.3.2 erroneously accepts it (and takes A as can be seen by looking at the assembler output. W.