Mercurial > hg > CbC > CbC_gcc
diff gcc/go/gccgo.texi @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
line wrap: on
line diff
--- a/gcc/go/gccgo.texi Fri Oct 27 22:46:09 2017 +0900 +++ b/gcc/go/gccgo.texi Thu Oct 25 07:37:49 2018 +0900 @@ -12,7 +12,7 @@ @include gcc-common.texi @c Copyright years for this manual. -@set copyrights-go 2010-2017 +@set copyrights-go 2010-2018 @copying @c man begin COPYRIGHT @@ -229,16 +229,23 @@ by default, but in the future may be off by default on systems that do not require it. -@item -fgo-optimize-allocs -@cindex @option{-fgo-optimize-allocs} -Use escape analysis to allocate objects on the stack rather than the -heap when possible. In the future this may be the default. +@item -fno-go-optimize-allocs +@cindex @option{-fno-go-optimize-allocs} +Disable escape analysis, which tries to allocate objects on the stack +rather than the heap. @item -fgo-debug-escape@var{n} @cindex @option{-fgo-debug-escape} Output escape analysis debugging information. Larger values of @var{n} generate more information. +@item -fgo-debug-escape-hash=@var{n} +@cindex @option{-fgo-debug-escape-hash} +A hash value to debug escape analysis. @var{n} is a binary string. +This runs escape analysis only on functions whose names hash to values +that match the given suffix @var{n}. This can be used to binary +search across functions to uncover escape analysis bugs. + @item -fgo-c-header=@var{file} @cindex @option{-fgo-c-header} Write top-level named Go struct definitions to @var{file} as C code.