OSDN Git Service

PR 18537
[pf3gnuchains/gcc-fork.git] / gcc / fortran / lang.opt
1 ; Options for the Fortran 95 front end.
2 ; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
3 ;
4 ; This file is part of GCC.
5 ;
6 ; GCC is free software; you can redistribute it and/or modify it under
7 ; the terms of the GNU General Public License as published by the Free
8 ; Software Foundation; either version 2, or (at your option) any later
9 ; version.
10
11 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 ; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 ; for more details.
15
16 ; You should have received a copy of the GNU General Public License
17 ; along with GCC; see the file COPYING.  If not, write to the Free
18 ; Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
19 ; 02110-1301, USA.
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 Fortran
27
28 I
29 Fortran Joined
30 -I<directory>   Add a directory for INCLUDE and MODULE searching
31
32 J
33 Fortran Joined
34 -J<directory>   Put MODULE files in 'directory'
35
36 Wall
37 Fortran RejectNegative
38 ; Documented in C
39
40 Waliasing
41 Fortran
42 Warn about possible aliasing of dummy arguments
43
44 Wconversion
45 Fortran
46 Warn about implicit conversion
47
48 Wimplicit-interface
49 Fortran
50 Warn about calls with implicit interface
51
52 Wline-truncation
53 Fortran
54 Warn about truncated source lines
55
56 Wnonstd-intrinsics
57 Fortran
58 Warn about usage of non-standard intrinsics
59
60 Wsurprising
61 Fortran
62 Warn about \"suspicious\" constructs
63
64 Wtabs
65 Fortran
66 Warn about nonconforming uses of the tab character
67
68 Wunderflow
69 Fortran
70 Warn about underflow of numerical constant expressions
71
72 Wunused-labels
73 Fortran
74 Warn when a label is unused
75
76 fautomatic
77 Fortran
78 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
79
80 fbackslash
81 Fortran
82 Specify that backslash in string introduces an escape character
83
84 fdefault-double-8
85 Fortran
86 Set the default double precision kind to an 8 byte wide type
87
88 fdefault-integer-8
89 Fortran
90 Set the default integer kind to an 8 byte wide type
91
92 fdefault-real-8
93 Fortran
94 Set the default real kind to an 8 byte wide type
95
96 fd-lines-as-code
97 Fortran RejectNegative
98 Ignore 'D' in column one in fixed form
99
100 fd-lines-as-comments
101 Fortran RejectNegative
102 Treat lines with 'D' in column one as comments
103
104 fdollar-ok
105 Fortran
106 Allow dollar signs in entity names
107
108 fdump-parse-tree
109 Fortran
110 Display the code tree after parsing
111
112 ff2c
113 Fortran
114 Use f2c calling convention
115
116 ffixed-form
117 Fortran RejectNegative
118 Assume that the source file is fixed form
119
120 ffree-form
121 Fortran RejectNegative
122 Assume that the source file is free form
123
124 fopenmp
125 Fortran
126 Enable OpenMP
127
128 funderscoring
129 Fortran
130 Append underscores to externally visible names
131
132 fcray-pointer
133 Fortran
134 Use the Cray Pointer extension
135
136 fsecond-underscore
137 Fortran
138 Append a second underscore if the name already contains an underscore
139
140 fimplicit-none
141 Fortran
142 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
143
144 ffixed-line-length-none
145 Fortran RejectNegative
146 Allow arbitrary character line width in fixed mode
147
148 ffixed-line-length-
149 Fortran RejectNegative Joined UInteger
150 -ffixed-line-length-<n>         Use n as character line width in fixed mode
151
152 ffree-line-length-none
153 Fortran RejectNegative
154 Allow arbitrary character line width in free mode
155
156 ffree-line-length-
157 Fortran RejectNegative Joined UInteger
158 -ffree-line-length-<n>          Use n as character line width in free mode
159
160 fmax-identifier-length=
161 Fortran RejectNegative Joined UInteger
162 -fmax-identifier-length=<n>     Maximum identifier length
163
164 fmax-stack-var-size=
165 Fortran RejectNegative Joined UInteger
166 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
167
168 fmodule-private
169 Fortran
170 Set default accessibility of module entities to PRIVATE
171
172 fno-backend
173 Fortran RejectNegative
174 Don't generate code, just do syntax and semantics checking
175
176 fpack-derived
177 Fortran
178 Try to layout derived types as compact as possible
179
180 frepack-arrays
181 Fortran
182 Copy array sections into a contiguous block on procedure entry
183
184 fpreprocessed
185 Fortran
186 Treat the input file as preprocessed
187
188 qkind=
189 Fortran RejectNegative Joined UInteger
190 -qkind=<n>      Set the kind for a real with the 'q' exponent to 'n'
191
192 ffpe-trap=
193 Fortran RejectNegative JoinedOrMissing
194 -ffpe-trap=[..] Stop on following floating point exceptions
195
196 std=f95
197 Fortran
198 Conform to the ISO Fortran 95 standard
199
200 std=f2003
201 Fortran
202 Conform to the ISO Fortran 2003 standard
203
204 std=gnu
205 Fortran
206 Conform nothing in particular
207
208 std=legacy
209 Fortran
210 Accept extensions to support legacy code
211
212 fshort-enums
213 Fortran
214 Use the narrowest integer type possible for enumeration types
215
216 fconvert=little-endian
217 Fortran RejectNegative
218 Use little-endian format for unformatted files
219
220 fconvert=big-endian
221 Fortran RejectNegative
222 Use big-endian format for unformatted files
223
224 fconvert=native
225 Fortran RejectNegative
226 Use native format for unformatted files
227
228 fconvert=swap
229 Fortran RejectNegative
230 Swap endianness for unformatted files
231
232 ; This comment is to ensure we retain the blank line above.