From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13546 invoked by alias); 9 Jul 2010 13:16:45 -0000 Received: (qmail 13536 invoked by uid 22791); 9 Jul 2010 13:16:44 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mtagate4.de.ibm.com (HELO mtagate4.de.ibm.com) (195.212.17.164) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Jul 2010 13:16:38 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate4.de.ibm.com (8.13.1/8.13.1) with ESMTP id o69DGZb4000871 for ; Fri, 9 Jul 2010 13:16:35 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o69DGZV11622052 for ; Fri, 9 Jul 2010 15:16:35 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o69DGZQI025084 for ; Fri, 9 Jul 2010 15:16:35 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id o69DGYZj025042; Fri, 9 Jul 2010 15:16:34 +0200 Message-Id: <201007091316.o69DGYZj025042@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Fri, 09 Jul 2010 15:16:34 +0200 Subject: Re: [patch] Small fix for assigning values to vectors To: dan@codesourcery.com (Daniel Jacobowitz) Date: Fri, 09 Jul 2010 13:16:00 -0000 From: "Ulrich Weigand" Cc: ken@linux.vnet.ibm.com (Ken Werner), gdb-patches@sourceware.org In-Reply-To: <20100709130308.GR8410@caradoc.them.org> from "Daniel Jacobowitz" at Jul 09, 2010 09:03:09 AM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00181.txt.bz2 Daniel Jacobowitz wrote: > I thought we were discussing toval, at the top of the context block; > that's the destination. It seems to me like we do need to coerce > fromval here. If this works, maybe somewhere else is coercing it > anyway? Oops, sorry, crossed emails. If we don't coerce from fromval when assigning to an internal variable, it simply means that the internal variable acquires array type and the full array contents, instead of acquiring pointer type. But I don't see why this would be a problem; in fact it may well preferable. See my other mail for more details ... Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com