v1.5 branch refresh based upon upstream master @ c8677ca89e53e3be7988d54280fce166cc894a7e
[librecmc/librecmc.git] / toolchain / gcc / patches / 5.5.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);