From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12399 invoked by alias); 7 Apr 2008 17:34:56 -0000 Received: (qmail 12368 invoked by uid 22791); 7 Apr 2008 17:34:53 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 07 Apr 2008 17:34:26 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m37HWNEv030475; Mon, 7 Apr 2008 13:32:23 -0400 Received: from file.rdu.redhat.com (file.rdu.redhat.com [10.11.255.147]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m37HWMOr000769; Mon, 7 Apr 2008 13:32:22 -0400 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by file.rdu.redhat.com (8.13.1/8.13.1) with ESMTP id m37HWMAi007152; Mon, 7 Apr 2008 13:32:22 -0400 Message-ID: <47FA5AA6.7010802@redhat.com> Date: Mon, 07 Apr 2008 17:42:00 -0000 From: Jason Merrill User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: Jakub Jelinek CC: Mark Mitchell , gcc-patches@gcc.gnu.org Subject: Re: [C++ PATCH] Fix vector_size handling in templates (PR c++/35758) References: <20080401143240.GR30807@devserv.devel.redhat.com> In-Reply-To: <20080401143240.GR30807@devserv.devel.redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2008-04/txt/msg00552.txt.bz2 I believe this patch is appropriate and correct and fixes the regression, regardless of whether we also try to implement deduction for 'vector T'. If reconstruct_complex_type doesn't do the right thing for C++, this is the way to fix it. Jason