This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH 4/5] Cygwin: fix GCC 8.3 'asm volatile' errors
- From: Ken Brown <kbrown at cornell dot edu>
- To: "cygwin-patches at cygwin dot com" <cygwin-patches at cygwin dot com>
- Date: Tue, 16 Jul 2019 17:34:27 +0000
- Subject: [PATCH 4/5] Cygwin: fix GCC 8.3 'asm volatile' errors
- Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=cornell.edu;dmarc=pass action=none header.from=cornell.edu;dkim=pass header.d=cornell.edu;arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vuc6mTdX+7HqmHjxsxcuuyG33amUBN1v0Ct1C9PciSc=; b=JitWPxKYF+b3SH+/xlRckPljG2hzI6dURnDaWacXOvpMOXKPUoATuIBMIkGI8YF9oLyZaaVKaWBzcpqSuSVBQ94Mbzxv99eRh2p4Eyue8K0Oh0dzUPNVSDIhuOF4upM5Fb6LNDuoVaxey5HPuMQaJsc4Z9oVz/fvRtV2dFzRV+QkB+3HhbYq6/DaqQDkSIEwxGvQaby96ota8ZbsPnXG4+CtuDbrQlTiwzh06VRtdJG38jvy8Gn+WWK55mxFnQsdh8VlhHG3BHckLy0PEvjL4LP8Jg7PMXCtvG8fGFep4tF9x1LkiiKq0kPHHUbowvJMjw0xd45yoEbnhXjlT4fDSQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ly9o2Y6LvJWOq/BlinHpc7mo+sAmEBfnRdiPBYdXs37khen/zpf+tGDzd0dHeghP/Zsh4DqOv4XFKfeNKDp2EWuNYampjX4j/kggFsCfkZLYnrDAp7ui0fhwvUtU7fqe0NvtMgZ/hSTB1u8ca9O7Uh9k3IUncA4f7ZDhPSPwOyhnwbrlVdjH5UPgwlWwGo/3QDlzxkWbc4Pb7sGitEbVdrI7f2XCc6QRNfRigaMXm036FSfHc5Y7eAk3AiinnKioYpdUAicRqyEAOuZTZeDmbS4PSWm6UV1lOxW3TtdVLiJz7ccTI40yzW8z9LIkdiov4UIKeS+luq2GGBIQafHPJA==
- References: <20190716173407.17040-1-kbrown@cornell.edu>
Remove 'volatile'.
---
winsup/cygwin/miscfuncs.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc
index e02bc9c1f..0bbf4975d 100644
--- a/winsup/cygwin/miscfuncs.cc
+++ b/winsup/cygwin/miscfuncs.cc
@@ -724,7 +724,7 @@ err:
See FreeBSD src/lib/libc/amd64/string/memset.S
and FreeBSD src/lib/libc/amd64/string/bcopy.S */
-asm volatile (" \n\
+asm (" \n\
/* \n\
* Written by J.T. Conklin <jtc@NetBSD.org>. \n\
* Public domain. \n\
@@ -791,7 +791,7 @@ L1: rep \n\
.seh_endproc \n\
");
-asm volatile (" \n\
+asm (" \n\
/*- \n\
* Copyright (c) 1990 The Regents of the University of California. \n\
* All rights reserved. \n\
--
2.21.0