gcc: optionally build gccgo compiler
[openwrt/staging/chunkeey.git] / toolchain / gcc / patches / 5.4.0 / 970-warn_bug.patch
1 --- a/libgo/runtime/mprof.goc
2 +++ b/libgo/runtime/mprof.goc
3 @@ -403,7 +403,7 @@ func ThreadCreateProfile(p Slice) (n int
4
5 func Stack(b Slice, all bool) (n int) {
6 byte *pc, *sp;
7 - bool enablegc;
8 + bool enablegc = false; /* workaround GCC bug #36550 */
9
10 sp = runtime_getcallersp(&b);
11 pc = (byte*)(uintptr)runtime_getcallerpc(&b);