]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/go/lang.opt
Eradicate MQ some more
[thirdparty/gcc.git] / gcc / go / lang.opt
CommitLineData
7a938933
ILT
1; lang.opt -- Options for the gcc Go front end.
2
818ab71a 3; Copyright (C) 2009-2016 Free Software Foundation, Inc.
7a938933
ILT
4;
5; This file is part of GCC.
6;
7; GCC is free software; you can redistribute it and/or modify it under
8; the terms of the GNU General Public License as published by the Free
9; Software Foundation; either version 3, or (at your option) any later
10; version.
11;
12; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13; WARRANTY; without even the implied warranty of MERCHANTABILITY or
14; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15; for more details.
16;
17; You should have received a copy of the GNU General Public License
18; along with GCC; see the file COPYING3. If not see
19; <http://www.gnu.org/licenses/>.
20
21; See the GCC internals manual for a description of this file's format.
22
23; Please try to keep this file in ASCII collating order.
24
25Language
26Go
27
28I
29Go Joined Separate
30; Documented in c.opt
31
32L
33Go Joined Separate
34; Not documented
35
36Wall
37Go
38; Documented in c.opt
39
63d1e46d
ILT
40fgo-check-divide-zero
41Go Var(go_check_divide_zero) Init(1)
a7b2e184 42Add explicit checks for division by zero.
63d1e46d
ILT
43
44fgo-check-divide-overflow
45Go Var(go_check_divide_overflow) Init(1)
a7b2e184 46Add explicit checks for division overflow in INT_MIN / -1.
63d1e46d 47
7a938933
ILT
48fgo-dump-
49Go Joined RejectNegative
a7b2e184 50-fgo-dump-<type> Dump Go frontend internal information.
7a938933 51
706cd57f
RL
52fgo-optimize-
53Go Joined RejectNegative
a7b2e184 54-fgo-optimize-<type> Turn on optimization passes in the frontend.
706cd57f 55
097b12fb
ILT
56fgo-pkgpath=
57Go Joined RejectNegative
a7b2e184 58-fgo-pkgpath=<string> Set Go package path.
097b12fb 59
7a938933
ILT
60fgo-prefix=
61Go Joined RejectNegative
a7b2e184 62-fgo-prefix=<string> Set package-specific prefix for exported Go names.
7a938933 63
4e1866fe
ILT
64fgo-relative-import-path=
65Go Joined RejectNegative
a7b2e184 66-fgo-relative-import-path=<path> Treat a relative import as relative to path.
4e1866fe 67
7a938933
ILT
68frequire-return-statement
69Go Var(go_require_return_statement) Init(1) Warning
a7b2e184 70Functions which return values must end with return statements.
7a938933 71
7295570d
CM
72fgo-debug-escape
73Go Joined UInteger Var(go_debug_escape_level) Init(0)
74Emit debugging information related to the escape analysis pass when run with -fgo-optimize-allocs.
75
7a938933
ILT
76o
77Go Joined Separate
78; Documented in common.opt
79
80; This comment is to ensure we retain the blank line above.