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.5 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 7AD1F1F597 for ; Wed, 18 Jul 2018 21:50:52 +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:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=nUt78y+bX+APw1vewCaLRN5k3qmpyINjrCg86gyKnXz y0yBoYA1WK6O69gMzVU2eY1cKhLvssjGkphYVoxDem6Vs+eALgscN4IkbzVNxmCj jQIRm63LbqZy7eL6qSAceLjqGHB1MTiFHVirbDAWE9gxNifUDjwnuZI1ZMkDywh4 = 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:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-type:content-transfer-encoding; s=default; bh=L1dsq25XSbddDChLmNqzAx2ddRM=; b=bcbEJij4ENcG5Wga6 m1f0zURfa6h2EueBbg8HsKYEqHMehJI2IdcPKPdiymcCpRS21s4h5RFkl0L+3i4X Or6p/SM9TsMo0wOBdAwd46DkHCr4fO3A1KWdfojNWRGsreJDxu3KMBKBD3P0ytwq duz+MBTo0bJ9EDVZcf6NCKF6rU= Received: (qmail 57552 invoked by alias); 18 Jul 2018 21:50:49 -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 57525 invoked by uid 89); 18 Jul 2018 21:50:48 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: albireo.enyo.de From: Florian Weimer To: Joseph Myers Cc: Adhemerval Zanella , Subject: Re: [PATCH v8 6/8] nptl: Add abilist symbols for C11 threads 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> Date: Wed, 18 Jul 2018 23:19:20 +0200 In-Reply-To: (Joseph Myers's message of "Wed, 18 Jul 2018 17:40:44 +0000") Message-ID: <87pnzkckdj.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable * Joseph Myers: > On Fri, 13 Jul 2018, Florian Weimer wrote: > >> I think ONCE_FLAG_INIT needs to be a compound literal, not an initialize= r, at >> least that's how I read the standard (=E2=80=9Cwhich expands to a value = that can be >> used to initialize an object=E2=80=9D). > > I think it has to be valid as a static initializer. Which means it can't= =20 > be a compound literal, because standard C doesn't allow those in static=20 > initializers. (I read "value" as meaning "expansion of the macro" not=20 > "value of an object type".) Indeed, the standard uses =E2=80=9Cvalue=E2=80=9D for macro expansion resul= ts in other contexts. Sorry for the misdirection.