wok-next view gcc6/stuff/patches/gcc-6.4.0.patch @ rev 21445

updated scim (1.4.17 -> 1.4.18)
author Hans-G?nter Theisgen
date Tue May 05 16:55:11 2020 +0100 (2020-05-05)
parents
children
line source
1 ./md-unwind-support.h: In function 'x86_64_fallback_frame_state':
2 ./md-unwind-support.h:65:47: error: dereferencing pointer to incomplete type 'struct ucontext'
3 sc = (struct sigcontext *) (void *) &uc_->uc_mcontext;
4 ^~
6 --- a/libgcc/config/i386/linux-unwind.h
7 +++ b/libgcc/config/i386/linux-unwind.h
8 @@ -58,7 +58,7 @@
9 if (*(unsigned char *)(pc+0) == 0x48
10 && *(unsigned long long *)(pc+1) == RT_SIGRETURN_SYSCALL)
11 {
12 - struct ucontext *uc_ = context->cfa;
13 + struct ucontext_t *uc_ = context->cfa;
14 /* The void * cast is necessary to avoid an aliasing warning.
15 The aliasing warning is correct, but should not be a problem
16 because it does not alias anything. */