OSDN Git Service

2008-02-10 Daniel Franke <franke.daniel@gmail.com>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / lang.opt
1 ; Options for the Fortran 95 front end.
2 ; Copyright (C) 2003, 2004, 2005, 2006, 2007 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 3, 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 COPYING3.  If not see
18 ; <http://www.gnu.org/licenses/>.
19
20 ; See the GCC internals manual for a description of this file's format.
21
22 ; Please try to keep this file in ASCII collating order.
23
24 Language
25 Fortran
26
27 I
28 Fortran Joined Separate
29 -I<directory>   Add a directory for INCLUDE and MODULE searching
30
31 J
32 Fortran Joined Separate
33 -J<directory>   Put MODULE files in 'directory'
34
35 Wall
36 Fortran
37 ; Documented in C
38
39 Waliasing
40 Fortran Warning
41 Warn about possible aliasing of dummy arguments
42
43 Wampersand
44 Fortran Warning
45 Warn about missing ampersand in continued character constants
46
47 Wcharacter-truncation
48 Fortran Warning
49 Warn about truncated character expressions
50
51 Wconversion
52 Fortran Warning
53 Warn about implicit conversion
54
55 Wimplicit-interface
56 Fortran Warning
57 Warn about calls with implicit interface
58
59 Wline-truncation
60 Fortran Warning
61 Warn about truncated source lines
62
63 Wnonstd-intrinsics
64 Fortran Warning
65 Warn about usage of non-standard intrinsics
66
67 Wsurprising
68 Fortran Warning
69 Warn about \"suspicious\" constructs
70
71 Wtabs
72 Fortran Warning
73 Permit nonconforming uses of the tab character
74
75 Wunderflow
76 Fortran Warning
77 Warn about underflow of numerical constant expressions
78
79 fall-intrinsics
80 Fortran RejectNegative
81 All intrinsics procedures are available regardless of selected standard
82
83 fallow-leading-underscore
84 Fortran Undocumented
85 ; For internal use only: allow the first character of symbol names to be an underscore
86
87 fautomatic
88 Fortran
89 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
90
91 fbackslash
92 Fortran
93 Specify that backslash in string introduces an escape character
94
95 fbacktrace
96 Fortran
97 Produce a backtrace when a runtime error is encountered
98
99 fblas-matmul-limit=
100 Fortran RejectNegative Joined UInteger
101 -fblas-matmul-limit=<n>        Size of the smallest matrix for which matmul will use BLAS
102
103 fconvert=big-endian
104 Fortran RejectNegative
105 Use big-endian format for unformatted files
106
107 fconvert=little-endian
108 Fortran RejectNegative
109 Use little-endian format for unformatted files
110
111 fconvert=native
112 Fortran RejectNegative
113 Use native format for unformatted files
114
115 fconvert=swap
116 Fortran RejectNegative
117 Swap endianness for unformatted files
118
119 fcray-pointer
120 Fortran
121 Use the Cray Pointer extension
122
123 fd-lines-as-code
124 Fortran RejectNegative
125 Ignore 'D' in column one in fixed form
126
127 fd-lines-as-comments
128 Fortran RejectNegative
129 Treat lines with 'D' in column one as comments
130
131 fdefault-double-8
132 Fortran
133 Set the default double precision kind to an 8 byte wide type
134
135 fdefault-integer-8
136 Fortran
137 Set the default integer kind to an 8 byte wide type
138
139 fdefault-real-8
140 Fortran
141 Set the default real kind to an 8 byte wide type
142
143 fdollar-ok
144 Fortran
145 Allow dollar signs in entity names
146
147 fdump-core
148 Fortran
149 Dump a core file when a runtime error occurs
150
151 fdump-parse-tree
152 Fortran
153 Display the code tree after parsing
154
155 fexternal-blas
156 Fortran
157 Specify that an external BLAS library should be used for matmul calls on large-size arrays
158
159 ff2c
160 Fortran
161 Use f2c calling convention
162
163 ffixed-form
164 Fortran RejectNegative
165 Assume that the source file is fixed form
166
167 fintrinsic-modules-path
168 Fortran RejectNegative Joined Separate
169 Specify where to find the compiled intrinsic modules
170
171 ffixed-line-length-none
172 Fortran RejectNegative
173 Allow arbitrary character line width in fixed mode
174
175 ffixed-line-length-
176 Fortran RejectNegative Joined UInteger
177 -ffixed-line-length-<n>         Use n as character line width in fixed mode
178
179 ffpe-trap=
180 Fortran RejectNegative JoinedOrMissing
181 -ffpe-trap=[..] Stop on following floating point exceptions
182
183 ffree-form
184 Fortran RejectNegative
185 Assume that the source file is free form
186
187 ffree-line-length-none
188 Fortran RejectNegative
189 Allow arbitrary character line width in free mode
190
191 ffree-line-length-
192 Fortran RejectNegative Joined UInteger
193 -ffree-line-length-<n>          Use n as character line width in free mode
194
195 fimplicit-none
196 Fortran
197 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
198
199 finit-character=
200 Fortran RejectNegative Joined UInteger
201 -finit-character=<n> Initialize local character variables to ASCII value n
202
203 finit-integer=
204 Fortran RejectNegative Joined
205 -finit-integer=<n> Initialize local integer variables to n
206
207 finit-local-zero
208 Fortran
209 Initialize local variables to zero (from g77)
210
211 finit-logical=
212 Fortran RejectNegative Joined
213 -finit-logical=<true|false> Initialize local logical variables
214
215 finit-real=
216 Fortran RejectNegative Joined
217 -finit-real=<zero|nan|inf|-inf> Initialize local real variables
218
219 fmax-errors=
220 Fortran RejectNegative Joined UInteger
221 -fmax-errors=<n>        Maximum number of errors to report
222
223 fmax-identifier-length=
224 Fortran RejectNegative Joined UInteger
225 -fmax-identifier-length=<n>     Maximum identifier length
226
227 fmax-subrecord-length=
228 Fortran RejectNegative Joined UInteger
229 -fmax-subrecord-length=<n>      Maximum length for subrecords
230
231 fmax-stack-var-size=
232 Fortran RejectNegative Joined UInteger
233 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
234
235 fmodule-private
236 Fortran
237 Set default accessibility of module entities to PRIVATE.
238
239 fopenmp
240 Fortran
241 Enable OpenMP (also sets frecursive)
242
243 fpack-derived
244 Fortran
245 Try to lay out derived types as compactly as possible
246
247 fpreprocessed
248 Fortran
249 Treat the input file as preprocessed
250
251 frange-check
252 Fortran
253 Enable range checking during compilation
254
255 frecord-marker=4
256 Fortran RejectNegative
257 Use a 4-byte record marker for unformatted files
258
259 frecord-marker=8
260 Fortran RejectNegative
261 Use an 8-byte record marker for unformatted files
262
263 frecursive
264 Fortran
265 Allocate local variables on the stack to allow indirect recursion
266
267 frepack-arrays
268 Fortran
269 Copy array sections into a contiguous block on procedure entry
270
271 fsecond-underscore
272 Fortran
273 Append a second underscore if the name already contains an underscore
274
275 fshort-enums
276 Fortran
277 Use the narrowest integer type possible for enumeration types
278
279 fsign-zero
280 Fortran
281 Apply negative sign to zero values
282
283 funderscoring
284 Fortran
285 Append underscores to externally visible names
286
287 static-libgfortran
288 Fortran
289 Statically link the GNU Fortran helper library (libgfortran)
290
291 std=f2003
292 Fortran
293 Conform to the ISO Fortran 2003 standard
294
295 std=f95
296 Fortran
297 Conform to the ISO Fortran 95 standard
298
299 std=gnu
300 Fortran
301 Conform to nothing in particular
302
303 std=legacy
304 Fortran
305 Accept extensions to support legacy code
306
307 ; This comment is to ensure we retain the blank line above.