public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: fix GCC 8.3 'asm volatile' errors
@ 2019-07-17 15:10 Ken Brown
0 siblings, 0 replies; only message in thread
From: Ken Brown @ 2019-07-17 15:10 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=81421eda7d408fe856319214332120fdbc8879c0
commit 81421eda7d408fe856319214332120fdbc8879c0
Author: Ken Brown <kbrown@cornell.edu>
Date: Mon Jul 15 15:59:41 2019 -0400
Cygwin: fix GCC 8.3 'asm volatile' errors
Remove the volatile qualifier, which is no longer allowed outside of
the function body. See
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89585 for discussion.
Diff:
---
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 e02bc9c..0bbf497 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\
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-07-17 15:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-17 15:10 [newlib-cygwin] Cygwin: fix GCC 8.3 'asm volatile' errors Ken Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).