From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,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.1 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 A64DE1F597 for ; Wed, 18 Jul 2018 20:02:35 +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=vjUXFS80vYmESpzv ABHPptL7e0ka/zQEtArFyDxOJk6OPFquxwkOsfPjJxVracXBB7lQqvBBO4yfsJJT rQj+U4xlGKu/pJHU9oY/5dj87sbQTMZ9T+4EtZx0gGFSc+EW3RgLUJGNbMl9PlNa ZaldRy8dr36eOHvKo93hQRuEXZc= 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=oU0aw8CRwAhOLmy9PEwwhJ PLFCo=; b=l3JLW3UKoH3YMaYqAb4/D+9KnA8s5ScRmGPbGb7aQof5hmZYgXEjjx 0JLWNrNpqvlC6GEhERLqTCZJXC06dz5OYfoRP3osDi9ohkG1kR6bvtx8Yhr/tvlX yjmdunO7EU8wioNqGSnfkpnXeVx7JyrGIn39AGQi0L/pgg77SgRH8= Received: (qmail 17810 invoked by alias); 18 Jul 2018 20:02:32 -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 17794 invoked by uid 89); 18 Jul 2018 20:02:31 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mail-ed1-f66.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=YOJgvT2USrq+RelUUu/GdeVWAJb/CyfuIODiJvdCoK8=; b=YeU3f0dmDgbd06NnG+1yRFSjlS8Quw08qdivyhQyU3tphKbzFbDqfgac7A2pYUfHQ5 55AdQ2lZUuMypCpJwacj8fnrM3D3KQwZIL8ZPQ8bJpJc8jLdgVqu+KTILpzFy1rYzNNp MPHWBw5aacEhIXLGOqe4AcUbL3cTvRoY2Yv7M= Subject: Re: [PATCH v8 6/8] nptl: Add abilist symbols for C11 threads To: Joseph Myers , Florian Weimer Cc: libc-alpha@sourceware.org References: <1517591084-11347-1-git-send-email-adhemerval.zanella@linaro.org> <1517591084-11347-7-git-send-email-adhemerval.zanella@linaro.org> <97b42cb3-e76a-ac71-65cd-c1f6d8c404aa@redhat.com> <90dc04ab-81df-b0d7-a086-d00ea5cc979d@linaro.org> <5ec19a17-30a3-e9b7-9475-c28b247c8daa@redhat.com> From: Adhemerval Zanella Openpgp: preference=signencrypt Message-ID: <6cd56267-b158-ba9d-65b8-410c7f9bb8aa@linaro.org> Date: Wed, 18 Jul 2018 17:02:22 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit On 18/07/2018 14:40, Joseph Myers wrote: > On Fri, 13 Jul 2018, Florian Weimer wrote: > >> I think ONCE_FLAG_INIT needs to be a compound literal, not an initializer, at >> least that's how I read the standard (“which expands to a value that can be >> used to initialize an object”). > > I think it has to be valid as a static initializer. Which means it can't > be a compound literal, because standard C doesn't allow those in static > initializers. (I read "value" as meaning "expansion of the macro" not > "value of an object type".) > Right, we should not enforce the compiler to support compound literal as a static initializer as GCC does as an extension. I will change back to static initializer.