Received: from eggs.gnu.org ([2001:4830:134:3::10]:49171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WK6K1-0000WA-KJ for qemu-devel@nongnu.org; Sun, 02 Mar 2014 08:20:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WK6Jv-0004qD-Hh for qemu-devel@nongnu.org; Sun, 02 Mar 2014 08:20:49 -0500 Message-ID: <5313302A.5040601@msgid.tls.msk.ru> Date: Sun, 02 Mar 2014 17:20:42 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <1393457987-24791-1-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1393457987-24791-1-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] tests/test-int128: Don't use __noclone__ attribute on clang List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-trivial@nongnu.org, =?ISO-8859-1?Q?Andrea?= =?ISO-8859-1?Q?s_F=E4rber?= , patches@linaro.org, qemu-devel@nongnu.org, Richard Henderson 27.02.2014 03:39, Peter Maydell wrote: > clang doesn't support the __noclone__ attribute and emits a warning about > it. Fortunately clang also implements a mechanism for asking if a particular > attribute is implemented; use it. We assume that if the compiler doesn't > support __has_attribute() then it must be GCC and must support __noclone__. Applied to -trivial, thank you! /mjt