From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15847 invoked by alias); 16 Oct 2004 03:16:33 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 15404 invoked from network); 16 Oct 2004 03:16:31 -0000 Received: from unknown (HELO smtp3.fuse.net) (216.68.8.176) by sourceware.org with SMTP; 16 Oct 2004 03:16:31 -0000 Received: from gx6.fuse.net ([66.42.135.201]) by smtp3.fuse.net (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20041016031631.NCJX22310.smtp3.fuse.net@gx6.fuse.net> for ; Fri, 15 Oct 2004 23:16:31 -0400 Received: from dellpi.pinski.fam ([66.42.135.201]) by gx6.fuse.net (InterMail vG.1.00.00.00 201-2136-104-20040331) with ESMTP id <20041016031630.OUON6532.gx6.fuse.net@dellpi.pinski.fam>; Fri, 15 Oct 2004 23:16:30 -0400 Received: from [10.0.0.80] (zhivago.i.pinski.fam [10.0.0.80]) by dellpi.pinski.fam (8.12.2/8.12.1) with ESMTP id i9G3GKVT016203; Fri, 15 Oct 2004 23:16:21 -0400 (EDT) In-Reply-To: <10410160314.AA24908@vlsi1.ultra.nyu.edu> References: <10410160314.AA24908@vlsi1.ultra.nyu.edu> Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: gcc@gcc.gnu.org, roger@eyesopen.com From: Andrew Pinski Subject: Re: fold_convert question Date: Sat, 16 Oct 2004 13:12:00 -0000 To: kenner@vlsi1.ultra.nyu.edu (Richard Kenner) X-SW-Source: 2004-10/txt/msg00652.txt.bz2 On Oct 15, 2004, at 11:14 PM, Richard Kenner wrote: > But "fold" itself calls "fold_convert" to ensure/force a tree to a > specified type. i.e. fold_convert is called for both generic, > gimple > and potentially even by front-ends that don't use tree-ssa. > > Hmm ... What I don't understand is why have two different ARRAY types in the first place? This seems very inefficient. As a new GCC developer I would like to see that types be correctly done in the front-end and middle-end. Saying two types are compatible but having a VIEW_CONVERT is just wrong. Thanks, Andrew Pinski