comparison gcc/go/gccgo.texi @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
10 @syncodeindex tp cp 10 @syncodeindex tp cp
11 11
12 @include gcc-common.texi 12 @include gcc-common.texi
13 13
14 @c Copyright years for this manual. 14 @c Copyright years for this manual.
15 @set copyrights-go 2010-2017 15 @set copyrights-go 2010-2018
16 16
17 @copying 17 @copying
18 @c man begin COPYRIGHT 18 @c man begin COPYRIGHT
19 Copyright @copyright{} @value{copyrights-go} Free Software Foundation, Inc. 19 Copyright @copyright{} @value{copyrights-go} Free Software Foundation, Inc.
20 20
227 may be used. Or the checks may be removed via 227 may be used. Or the checks may be removed via
228 @option{-fno-go-check-divide-overflow}. This option is currently on 228 @option{-fno-go-check-divide-overflow}. This option is currently on
229 by default, but in the future may be off by default on systems that do 229 by default, but in the future may be off by default on systems that do
230 not require it. 230 not require it.
231 231
232 @item -fgo-optimize-allocs 232 @item -fno-go-optimize-allocs
233 @cindex @option{-fgo-optimize-allocs} 233 @cindex @option{-fno-go-optimize-allocs}
234 Use escape analysis to allocate objects on the stack rather than the 234 Disable escape analysis, which tries to allocate objects on the stack
235 heap when possible. In the future this may be the default. 235 rather than the heap.
236 236
237 @item -fgo-debug-escape@var{n} 237 @item -fgo-debug-escape@var{n}
238 @cindex @option{-fgo-debug-escape} 238 @cindex @option{-fgo-debug-escape}
239 Output escape analysis debugging information. Larger values of 239 Output escape analysis debugging information. Larger values of
240 @var{n} generate more information. 240 @var{n} generate more information.
241
242 @item -fgo-debug-escape-hash=@var{n}
243 @cindex @option{-fgo-debug-escape-hash}
244 A hash value to debug escape analysis. @var{n} is a binary string.
245 This runs escape analysis only on functions whose names hash to values
246 that match the given suffix @var{n}. This can be used to binary
247 search across functions to uncover escape analysis bugs.
241 248
242 @item -fgo-c-header=@var{file} 249 @item -fgo-c-header=@var{file}
243 @cindex @option{-fgo-c-header} 250 @cindex @option{-fgo-c-header}
244 Write top-level named Go struct definitions to @var{file} as C code. 251 Write top-level named Go struct definitions to @var{file} as C code.
245 This is used when compiling the runtime package. 252 This is used when compiling the runtime package.