From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 87E271F4B5 for ; Wed, 13 Nov 2019 16:06:45 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=bHbGiVfZyE8/MstS /WXbJGqqVZLzJoyC5fr24unoEZFB45BTyxqxagpcGUpErShU0XqsnGUWFJzo3C7A 1F5ua00yFBxENO7wOQENl7XpJZ3iYcXKU9aoPIvpM7TF8i8DFyF1wS8dxvAbGm8s xpXjUJ+FJ0vk9Mli87/PfQ49RmM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=wV6JQTn5DfqSF4GAPUVMbo jW+Hg=; b=JqPaZK5x/6Bq3JBcKWcnIAiS9l0VJODXj/RTdykfS4ruduAE6Urz7c eqy05af52coQf27WmqoGqFIbmn10ShNN71qUPHLLHfgdiPWjWMU7q4siuuVn2UK8 8dv+ZzOtEiCKW8RZUDO8aHnmZuNfKRlyKWr88JFWNGgoPIjHAnRcQ= Received: (qmail 100062 invoked by alias); 13 Nov 2019 16:06:43 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 100013 invoked by uid 89); 13 Nov 2019 16:06:38 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: us-smtp-1.mimecast.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573661196; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:openpgp:openpgp:autocrypt:autocrypt; bh=ayj7b15wcChb450kBkANZbGGHR2y4RGp1e3evvUa+bQ=; b=WhZW8hEs9JtFWJ3qajquOYUpf4OgkMOLNKr1z8uxjIss1JLrtMyDAI5L81za44e0wAD3AO 0vdjrdmtnq792o8HhLZo9VUSc8tHR8dFLoNsVF1lwO84kvurtUPXY/mmkaLs9ImwKF/wk3 bLw1iwOFgSL5GG1bhSzdnq+fuEN1Ca0= Subject: Re: [review v3] slotinfo in struct dtv_slotinfo_list should be flexible array [BZ #25... To: Florian Weimer , Sandra Loosemore Cc: Joseph Myers , Florian Weimer , libc-alpha@sourceware.org, Szabolcs Nagy , cltang@codesourcery.com, andrew@codesourcery.com References: <20191112114732.2175B20AF6@gnutoolchain-gerrit.osci.io> <4e7ad8ea-43ae-6af6-d2a9-2a05d42b0cc6@codesourcery.com> <87r22dey2c.fsf@mid.deneb.enyo.de> <55541dd4-7e5e-e7ec-ae17-e9904041780e@codesourcery.com> <87v9ro9vl6.fsf@mid.deneb.enyo.de> From: Jeff Law Openpgp: preference=signencrypt Message-ID: <460e8998-bf27-07b4-0ba3-ec26e30d7391@redhat.com> Date: Wed, 13 Nov 2019 09:06:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <87v9ro9vl6.fsf@mid.deneb.enyo.de> X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable On 11/12/19 10:47 PM, Florian Weimer wrote: > * Sandra Loosemore: >=20 >> OK, having a self-contained test case is very helpful. I'll take a look= =20 >> at fixing this in GCC, although I might not get to it for a few days.=20 >> Probably the solution is to not use GP-relative addressing for any=20 >> object declared with a flexible array member. >=20 > Thanks for looking into this. Should I file a GCC PR? Certainly helpful if you do. Jeff