From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16716 invoked by alias); 30 Dec 2008 05:36:32 -0000 Received: (qmail 16605 invoked by uid 48); 30 Dec 2008 05:35:09 -0000 Date: Tue, 30 Dec 2008 05:36:00 -0000 Message-ID: <20081230053509.16604.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/37093] [4.2/4.3/4.4 Regression] ICE with pointer to member template parameters In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" 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: 2008-12/txt/msg02880.txt.bz2 ------- Comment #13 from pinskia at gcc dot gnu dot org 2008-12-30 05:35 ------- That patch removed lots of code that is nessarry for this check, I have to add back + /* The call to perform_qualification_conversions will + insert a NOP_EXPR over EXPR to do express conversion, + if necessary. But, that will confuse us if we use + this (converted) template parameter to instantiate + another template; then the thing will not look like a + valid template argument. So, just make a new + constant, of the appropriate type. */ Anyways now I have a real patch which brings us back to what was done before and gives us the correct error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37093