]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR go/90614
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 May 2019 00:10:34 +0000 (00:10 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 May 2019 00:10:34 +0000 (00:10 +0000)
    syscall: avoid unused parameter error if WIFCONTINUED not defined

    Fixes https://gcc.gnu.org/PR90614

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/178997

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@271638 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/go/gofrontend/MERGE
libgo/go/syscall/wait.c

index 2cd7a0e94fec899ec83f1c1f177faba812b91734..7f668945952ac9878aedb7d186cc3c506d686683 100644 (file)
@@ -1,4 +1,4 @@
-54aacecc8167bfba8420cb7b245787ff80bde61b
+578c4fb6132801db8e9d11d741d2394e07c5a398
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index 0b234d0c35b991abebeb6f5c5ab171f520504abb..39bc035e979d4df403130aa5afc3482b58b6a27e 100644 (file)
@@ -51,7 +51,7 @@ extern _Bool Continued (uint32_t *w)
   __asm__ (GOSYM_PREFIX "syscall.WaitStatus.Continued");
 
 _Bool
-Continued (uint32_t *w)
+Continued (uint32_t *w __attribute__ ((unused)))
 {
   return WIFCONTINUED (*w) != 0;
 }