From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47430 invoked by alias); 25 Aug 2017 08:09:57 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 36006 invoked by uid 89); 25 Aug 2017 08:09:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.3 required=5.0 tests=AWL,BAYES_00,FOREIGN_BODY,RCVD_IN_DNSWL_NONE,SPF_PASS,T_FILL_THIS_FORM_SHORT autolearn=no version=3.3.2 spammy=H*f:sk:99c3947, H*f:sk:463cca9, H*i:sk:463cca9, __noreturn__ X-HELO: dedi548.your-server.de Received: from dedi548.your-server.de (HELO dedi548.your-server.de) (85.10.215.148) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 25 Aug 2017 08:09:47 +0000 Received: from [78.47.166.52] (helo=sslproxy04.your-server.de) by dedi548.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from ) id 1dl9gX-0001Og-HA; Fri, 25 Aug 2017 10:09:45 +0200 Received: from [82.135.62.35] (helo=mail.embedded-brains.de) by sslproxy04.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dl9gX-0000m5-AW; Fri, 25 Aug 2017 10:09:45 +0200 Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 28AA42A0A9D; Fri, 25 Aug 2017 10:10:26 +0200 (CEST) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id dS2OzXt809UL; Fri, 25 Aug 2017 10:10:24 +0200 (CEST) Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id EF5C52A166C; Fri, 25 Aug 2017 10:10:23 +0200 (CEST) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wx8PIsB2IeLY; Fri, 25 Aug 2017 10:10:23 +0200 (CEST) Received: from [192.168.96.129] (unknown [192.168.96.129]) by mail.embedded-brains.de (Postfix) with ESMTPSA id C94132A0A9D; Fri, 25 Aug 2017 10:10:23 +0200 (CEST) Subject: Re: [PATCH] headers: avoid bareword attributes From: Sebastian Huber To: Eric Blake , newlib@sourceware.org References: <20170817015011.9345-1-eblake@redhat.com> <48d4ff8a-8487-9b06-8ead-d779722dca5b@embedded-brains.de> <99c39477-3bcd-57ab-67f8-6bc84881c77e@redhat.com> <463cca95-66b3-4809-714b-9340212571b4@embedded-brains.de> Message-ID: <98c84e64-9334-c25a-7a1c-215d3a719261@embedded-brains.de> Date: Fri, 25 Aug 2017 12:05:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <463cca95-66b3-4809-714b-9340212571b4@embedded-brains.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017/txt/msg00880.txt.bz2 On 25/08/17 09:53, Sebastian Huber wrote: [...] > I also think that this is a clang bug and I will file a bug report,=20 > however, it will take time to fix this and we should not break=20 > existing clang support for now. > > With this test program > > void f0(void) __attribute__((noreturn)); > void f1(void) __attribute__((__noreturn__)); > void f2(int *l) __attribute__((exclusive_lock_function(*l))); > void f3(int *l) __attribute__((__exclusive_lock_function__(*l))); > > I get > > clang -c test.c > test.c:4:61: error: use of undeclared identifier 'l' > void f3(int *l) __attribute__((__exclusive_lock_function__(*l))); > ^ > 1 error generated. > https://bugs.llvm.org/show_bug.cgi?id=3D34319 --=20 Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.huber@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine gesch=C3=A4ftliche Mitteilung im Sinne des EHUG.