This breaks non-split-stack builds.

../../../libgo/runtime/stack.c: In function 'doscanstack1':
../../../libgo/runtime/stack.c:113:18: error: passing argument 1 of 
'scanstackblock' makes integer from pointer without a cast 
[-Werror=int-conversion]
  113 |   scanstackblock(bottom, (uintptr)(top - bottom), gcw);
      |                  ^~~~~~
      |                  |
      |                  byte * {aka unsigned char *}

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to