970-warn_bug.patch 338 B

1234567891011
  1. --- a/libgo/runtime/mprof.goc
  2. +++ b/libgo/runtime/mprof.goc
  3. @@ -403,7 +403,7 @@ func ThreadCreateProfile(p Slice) (n int
  4. func Stack(b Slice, all bool) (n int) {
  5. byte *pc, *sp;
  6. - bool enablegc;
  7. + bool enablegc = false; /* workaround GCC bug #36550 */
  8. sp = runtime_getcallersp(&b);
  9. pc = (byte*)(uintptr)runtime_getcallerpc(&b);