OSDN Git Service

Daily bump.
[pf3gnuchains/gcc-fork.git] / gcc / go / lang.opt
1 ; lang.opt -- Options for the gcc Go front end.
2
3 ; Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
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
25 Language
26 Go
27
28 I
29 Go Joined Separate
30 ; Documented in c.opt
31
32 L
33 Go Joined Separate
34 ; Not documented
35
36 Wall
37 Go
38 ; Documented in c.opt
39
40 fgo-check-divide-zero
41 Go Var(go_check_divide_zero) Init(1)
42 Add explicit checks for division by zero
43
44 fgo-check-divide-overflow
45 Go Var(go_check_divide_overflow) Init(1)
46 Add explicit checks for division overflow in INT_MIN / -1
47
48 fgo-dump-
49 Go Joined RejectNegative
50 -fgo-dump-<type>        Dump Go frontend internal information
51
52 fgo-optimize-
53 Go Joined RejectNegative
54 -fgo-optimize-<type>    Turn on optimization passes in the frontend
55
56 fgo-pkgpath=
57 Go Joined RejectNegative
58 -fgo-pkgpath=<string>   Set Go package path
59
60 fgo-prefix=
61 Go Joined RejectNegative
62 -fgo-prefix=<string>    Set package-specific prefix for exported Go names
63
64 fgo-relative-import-path=
65 Go Joined RejectNegative
66 -fgo-relative-import-path=<path> Treat a relative import as relative to path
67
68 frequire-return-statement
69 Go Var(go_require_return_statement) Init(1) Warning
70 Functions which return values must end with return statements
71
72 o
73 Go Joined Separate
74 ; Documented in common.opt
75
76 ; This comment is to ensure we retain the blank line above.