From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13748 invoked by alias); 20 Sep 2014 18:28:50 -0000 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 Received: (qmail 13727 invoked by uid 89); 20 Sep 2014 18:28:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f45.google.com Received: from mail-pa0-f45.google.com (HELO mail-pa0-f45.google.com) (209.85.220.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 20 Sep 2014 18:28:48 +0000 Received: by mail-pa0-f45.google.com with SMTP id lj1so1197155pab.4 for ; Sat, 20 Sep 2014 11:28:46 -0700 (PDT) X-Received: by 10.70.100.133 with SMTP id ey5mr12723695pdb.153.1411237726650; Sat, 20 Sep 2014 11:28:46 -0700 (PDT) Received: from [192.168.1.9] (c-71-231-231-32.hsd1.wa.comcast.net. [71.231.231.32]) by mx.google.com with ESMTPSA id xj9sm5166231pab.40.2014.09.20.11.28.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 20 Sep 2014 11:28:45 -0700 (PDT) From: Jay X-Google-Original-From: Jay References: <8738bmip4u.fsf@moxielogic.com> Mime-Version: 1.0 (1.0) In-Reply-To: <8738bmip4u.fsf@moxielogic.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <56D04B69-2635-4539-BFC6-59431426A3A4@gmail.com> Cc: Uros Bizjak , "" , "gcc-patches@gcc.gnu.org" , Richard Henderson , Ian Lance Taylor Subject: Re: [PATCH, libffi, alpha]: Use FFI_ASSERT in ffi_closure_osf_inner Date: Sat, 20 Sep 2014 18:28:00 -0000 To: Anthony Green X-SW-Source: 2014-09/txt/msg01713.txt.bz2 On Sep 20, 2014, at 3:04 AM, Anthony Green wrote: >=20 > Why not just pass an FFI_TYPE_STRUCT with zero members? My information may be old or irrelevant but I have used structs with no mem= bers with gcc backend, but with nonzero size and alignment, and ran into ba= ckend problems, particularly on sparc64, passing them as parameters.=20 Is that what is being used here? Maybe best to add some members to achieve equivalent size/alignment? - Jay