annotate gcc/go/lang.opt @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 84e7813d76e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ; lang.opt -- Options for the gcc Go front end.
kono
parents:
diff changeset
2
kono
parents:
diff changeset
3 ; Copyright (C) 2009-2017 Free Software Foundation, Inc.
kono
parents:
diff changeset
4 ;
kono
parents:
diff changeset
5 ; This file is part of GCC.
kono
parents:
diff changeset
6 ;
kono
parents:
diff changeset
7 ; GCC is free software; you can redistribute it and/or modify it under
kono
parents:
diff changeset
8 ; the terms of the GNU General Public License as published by the Free
kono
parents:
diff changeset
9 ; Software Foundation; either version 3, or (at your option) any later
kono
parents:
diff changeset
10 ; version.
kono
parents:
diff changeset
11 ;
kono
parents:
diff changeset
12 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
kono
parents:
diff changeset
13 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
kono
parents:
diff changeset
14 ; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
kono
parents:
diff changeset
15 ; for more details.
kono
parents:
diff changeset
16 ;
kono
parents:
diff changeset
17 ; You should have received a copy of the GNU General Public License
kono
parents:
diff changeset
18 ; along with GCC; see the file COPYING3. If not see
kono
parents:
diff changeset
19 ; <http://www.gnu.org/licenses/>.
kono
parents:
diff changeset
20
kono
parents:
diff changeset
21 ; See the GCC internals manual for a description of this file's format.
kono
parents:
diff changeset
22
kono
parents:
diff changeset
23 ; Please try to keep this file in ASCII collating order.
kono
parents:
diff changeset
24
kono
parents:
diff changeset
25 Language
kono
parents:
diff changeset
26 Go
kono
parents:
diff changeset
27
kono
parents:
diff changeset
28 I
kono
parents:
diff changeset
29 Go Joined Separate
kono
parents:
diff changeset
30 ; Documented in c.opt
kono
parents:
diff changeset
31
kono
parents:
diff changeset
32 L
kono
parents:
diff changeset
33 Go Joined Separate
kono
parents:
diff changeset
34 ; Not documented
kono
parents:
diff changeset
35
kono
parents:
diff changeset
36 Wall
kono
parents:
diff changeset
37 Go
kono
parents:
diff changeset
38 ; Documented in c.opt
kono
parents:
diff changeset
39
kono
parents:
diff changeset
40 fgo-c-header=
kono
parents:
diff changeset
41 Go Joined RejectNegative
kono
parents:
diff changeset
42 -fgo-c-header=<file> Write Go struct definitions to file as C code.
kono
parents:
diff changeset
43
kono
parents:
diff changeset
44 fgo-check-divide-zero
kono
parents:
diff changeset
45 Go Var(go_check_divide_zero) Init(1)
kono
parents:
diff changeset
46 Add explicit checks for division by zero.
kono
parents:
diff changeset
47
kono
parents:
diff changeset
48 fgo-check-divide-overflow
kono
parents:
diff changeset
49 Go Var(go_check_divide_overflow) Init(1)
kono
parents:
diff changeset
50 Add explicit checks for division overflow in INT_MIN / -1.
kono
parents:
diff changeset
51
kono
parents:
diff changeset
52 fgo-compiling-runtime
kono
parents:
diff changeset
53 Go Var(go_compiling_runtime) Init(0)
kono
parents:
diff changeset
54 Apply special rules for compiling runtime package.
kono
parents:
diff changeset
55
kono
parents:
diff changeset
56 fgo-dump-
kono
parents:
diff changeset
57 Go Joined RejectNegative
kono
parents:
diff changeset
58 -fgo-dump-<type> Dump Go frontend internal information.
kono
parents:
diff changeset
59
kono
parents:
diff changeset
60 fgo-optimize-
kono
parents:
diff changeset
61 Go Joined RejectNegative
kono
parents:
diff changeset
62 -fgo-optimize-<type> Turn on optimization passes in the frontend.
kono
parents:
diff changeset
63
kono
parents:
diff changeset
64 fgo-pkgpath=
kono
parents:
diff changeset
65 Go Joined RejectNegative
kono
parents:
diff changeset
66 -fgo-pkgpath=<string> Set Go package path.
kono
parents:
diff changeset
67
kono
parents:
diff changeset
68 fgo-prefix=
kono
parents:
diff changeset
69 Go Joined RejectNegative
kono
parents:
diff changeset
70 -fgo-prefix=<string> Set package-specific prefix for exported Go names.
kono
parents:
diff changeset
71
kono
parents:
diff changeset
72 fgo-relative-import-path=
kono
parents:
diff changeset
73 Go Joined RejectNegative
kono
parents:
diff changeset
74 -fgo-relative-import-path=<path> Treat a relative import as relative to path.
kono
parents:
diff changeset
75
kono
parents:
diff changeset
76 frequire-return-statement
kono
parents:
diff changeset
77 Go Var(go_require_return_statement) Init(1) Warning
kono
parents:
diff changeset
78 Functions which return values must end with return statements.
kono
parents:
diff changeset
79
kono
parents:
diff changeset
80 fgo-debug-escape
kono
parents:
diff changeset
81 Go Joined UInteger Var(go_debug_escape_level) Init(0)
kono
parents:
diff changeset
82 Emit debugging information related to the escape analysis pass when run with -fgo-optimize-allocs.
kono
parents:
diff changeset
83
kono
parents:
diff changeset
84 o
kono
parents:
diff changeset
85 Go Joined Separate
kono
parents:
diff changeset
86 ; Documented in common.opt
kono
parents:
diff changeset
87
kono
parents:
diff changeset
88 ; This comment is to ensure we retain the blank line above.