From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9311 invoked by alias); 6 Dec 2009 19:18:24 -0000 Received: (qmail 9280 invoked by uid 48); 6 Dec 2009 19:18:10 -0000 Date: Sun, 06 Dec 2009 19:18:00 -0000 Message-ID: <20091206191810.9279.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/42251] [4.5 Regression] failure detecting constant integral expression In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rwgk at yahoo dot com" 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: 2009-12/txt/msg00623.txt.bz2 ------- Comment #2 from rwgk at yahoo dot com 2009-12-06 19:18 ------- With a binary search in the svn history I found that the change below lead to the regression. I believe it is a major problem. Could someone confirm it? I think it should be a P1. ------------------------------------------------------------------------ r154768 | dodji | 2009-11-30 01:58:20 -0800 (Mon, 30 Nov 2009) | 9 lines Fix PR c++/42069 gcc/cp/ChangeLog: PR c++/42069 * pt.c (convert_template_argument): Strip typedefs from SCOPE_REFs. gcc/testsuite/ChangeLog: PR c++/42069 * g++.dg/template/typedef23.C: New test. ------------------------------------------------------------------------ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42251