diff options
author | Ken Brown <kbrown@cornell.edu> | 2019-07-15 22:59:41 +0300 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2019-07-17 17:39:27 +0300 |
commit | 81421eda7d408fe856319214332120fdbc8879c0 (patch) | |
tree | 9b3ed57bddab0e22995cbadc0c04decea8f59b28 /winsup/cygwin/miscfuncs.cc | |
parent | d730fa7b9cac901f2a682affefbdf772a170786c (diff) |
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.
Diffstat (limited to 'winsup/cygwin/miscfuncs.cc')
-rw-r--r-- | winsup/cygwin/miscfuncs.cc | 4 |
1 files 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\ |