OSDN Git Service

* tree-parloops.c: Change license to GPLv3.
[pf3gnuchains/gcc-fork.git] / gcc / fortran / lang.opt
1 ; Options for the Fortran 95 front end.
2 ; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
3 ; 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 Fortran
27
28 A
29 Fortran Joined Separate
30 ; Documented in C
31
32 C
33 Fortran
34 ; Documented in C
35
36 CC
37 Fortran
38 ; Documented in C
39
40 D
41 Fortran Joined Separate
42 ; Documented in C
43
44 E
45 Fortran Undocumented
46
47 H
48 Fortran
49 ; Documented in C
50
51 I
52 Fortran Joined Separate
53 -I<directory>   Add a directory for INCLUDE and MODULE searching
54
55 J
56 Fortran Joined Separate
57 -J<directory>   Put MODULE files in 'directory'
58
59 P
60 Fortran
61 ; Documented in C
62
63 U
64 Fortran Joined Separate
65 ; Documented in C
66
67 Wall
68 Fortran
69 ; Documented in C
70
71 Waliasing
72 Fortran Warning
73 Warn about possible aliasing of dummy arguments
74
75 Walign-commons
76 Fortran Warning
77 Warn about alignment of COMMON blocks
78
79 Wampersand
80 Fortran Warning
81 Warn about missing ampersand in continued character constants
82
83 Warray-temporaries
84 Fortran Warning
85 Warn about creation of array temporaries
86
87 Wcharacter-truncation
88 Fortran Warning
89 Warn about truncated character expressions
90
91 Wconversion
92 Fortran Warning
93 Warn about implicit conversion
94
95 Wimplicit-interface
96 Fortran Warning
97 Warn about calls with implicit interface
98
99 Wline-truncation
100 Fortran Warning
101 Warn about truncated source lines
102
103 Wintrinsics-std
104 Fortran Warning
105 Warn on intrinsics not part of the selected standard
106
107 Wreturn-type
108 Fortran Warning
109 ; Documented in C
110
111 Wsurprising
112 Fortran Warning
113 Warn about \"suspicious\" constructs
114
115 Wtabs
116 Fortran Warning
117 Permit nonconforming uses of the tab character
118
119 Wunderflow
120 Fortran Warning
121 Warn about underflow of numerical constant expressions
122
123 Wintrinsic-shadow
124 Fortran Warning
125 Warn if a user-procedure has the same name as an intrinsic
126
127 cpp
128 Fortran Joined Separate Negative(nocpp)
129 Enable preprocessing
130
131 nocpp
132 Fortran Negative(cpp)
133 Disable preprocessing
134
135 d
136 Fortran Joined
137 -d[DIMNU]       Dump details about macro names and definitions during preprocessing
138
139 falign-commons
140 Fortran
141 Enable alignment of COMMON blocks
142
143 fall-intrinsics
144 Fortran RejectNegative
145 All intrinsics procedures are available regardless of selected standard
146
147 fallow-leading-underscore
148 Fortran Undocumented
149 ; For internal use only: allow the first character of symbol names to be an underscore
150
151 fautomatic
152 Fortran
153 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
154
155 fbackslash
156 Fortran
157 Specify that backslash in string introduces an escape character
158
159 fbacktrace
160 Fortran
161 Produce a backtrace when a runtime error is encountered
162
163 fblas-matmul-limit=
164 Fortran RejectNegative Joined UInteger
165 -fblas-matmul-limit=<n>        Size of the smallest matrix for which matmul will use BLAS
166
167 fcheck-array-temporaries
168 Fortran
169 Produce a warning at runtime if a array temporary has been created for a procedure argument
170
171 fconvert=big-endian
172 Fortran RejectNegative
173 Use big-endian format for unformatted files
174
175 fconvert=little-endian
176 Fortran RejectNegative
177 Use little-endian format for unformatted files
178
179 fconvert=native
180 Fortran RejectNegative
181 Use native format for unformatted files
182
183 fconvert=swap
184 Fortran RejectNegative
185 Swap endianness for unformatted files
186
187 fcray-pointer
188 Fortran
189 Use the Cray Pointer extension
190
191 fd-lines-as-code
192 Fortran RejectNegative
193 Ignore 'D' in column one in fixed form
194
195 fd-lines-as-comments
196 Fortran RejectNegative
197 Treat lines with 'D' in column one as comments
198
199 fdefault-double-8
200 Fortran
201 Set the default double precision kind to an 8 byte wide type
202
203 fdefault-integer-8
204 Fortran
205 Set the default integer kind to an 8 byte wide type
206
207 fdefault-real-8
208 Fortran
209 Set the default real kind to an 8 byte wide type
210
211 fdollar-ok
212 Fortran
213 Allow dollar signs in entity names
214
215 fdump-core
216 Fortran
217 Dump a core file when a runtime error occurs
218
219 fdump-parse-tree
220 Fortran
221 Display the code tree after parsing
222
223 fexternal-blas
224 Fortran
225 Specify that an external BLAS library should be used for matmul calls on large-size arrays
226
227 ff2c
228 Fortran
229 Use f2c calling convention
230
231 ffixed-form
232 Fortran RejectNegative
233 Assume that the source file is fixed form
234
235 fintrinsic-modules-path
236 Fortran RejectNegative Joined Separate
237 Specify where to find the compiled intrinsic modules
238
239 ffixed-line-length-none
240 Fortran RejectNegative
241 Allow arbitrary character line width in fixed mode
242
243 ffixed-line-length-
244 Fortran RejectNegative Joined UInteger
245 -ffixed-line-length-<n>         Use n as character line width in fixed mode
246
247 ffpe-trap=
248 Fortran RejectNegative JoinedOrMissing
249 -ffpe-trap=[..] Stop on following floating point exceptions
250
251 ffree-form
252 Fortran RejectNegative
253 Assume that the source file is free form
254
255 ffree-line-length-none
256 Fortran RejectNegative
257 Allow arbitrary character line width in free mode
258
259 ffree-line-length-
260 Fortran RejectNegative Joined UInteger
261 -ffree-line-length-<n>          Use n as character line width in free mode
262
263 fimplicit-none
264 Fortran
265 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
266
267 finit-character=
268 Fortran RejectNegative Joined UInteger
269 -finit-character=<n> Initialize local character variables to ASCII value n
270
271 finit-integer=
272 Fortran RejectNegative Joined
273 -finit-integer=<n> Initialize local integer variables to n
274
275 finit-local-zero
276 Fortran
277 Initialize local variables to zero (from g77)
278
279 finit-logical=
280 Fortran RejectNegative Joined
281 -finit-logical=<true|false> Initialize local logical variables
282
283 finit-real=
284 Fortran RejectNegative Joined
285 -finit-real=<zero|nan|inf|-inf> Initialize local real variables
286
287 fmax-array-constructor=
288 Fortran RejectNegative Joined UInteger
289 -fmax-array-constructor=<n>        Maximum number of objects in an array constructor
290
291 fmax-errors=
292 Fortran RejectNegative Joined UInteger
293 -fmax-errors=<n>        Maximum number of errors to report
294
295 fmax-identifier-length=
296 Fortran RejectNegative Joined UInteger
297 -fmax-identifier-length=<n>     Maximum identifier length
298
299 fmax-subrecord-length=
300 Fortran RejectNegative Joined UInteger
301 -fmax-subrecord-length=<n>      Maximum length for subrecords
302
303 fmax-stack-var-size=
304 Fortran RejectNegative Joined UInteger
305 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
306
307 fmodule-private
308 Fortran
309 Set default accessibility of module entities to PRIVATE.
310
311 fopenmp
312 Fortran
313 Enable OpenMP (also sets frecursive)
314
315 fpack-derived
316 Fortran
317 Try to lay out derived types as compactly as possible
318
319 fpreprocessed
320 Fortran
321 Treat the input file as preprocessed
322
323 frange-check
324 Fortran
325 Enable range checking during compilation
326
327 frecord-marker=4
328 Fortran RejectNegative
329 Use a 4-byte record marker for unformatted files
330
331 frecord-marker=8
332 Fortran RejectNegative
333 Use an 8-byte record marker for unformatted files
334
335 frecursive
336 Fortran
337 Allocate local variables on the stack to allow indirect recursion
338
339 frepack-arrays
340 Fortran
341 Copy array sections into a contiguous block on procedure entry
342
343 fsecond-underscore
344 Fortran
345 Append a second underscore if the name already contains an underscore
346
347 fshort-enums
348 Fortran
349 Use the narrowest integer type possible for enumeration types
350
351 fsign-zero
352 Fortran
353 Apply negative sign to zero values
354
355 funderscoring
356 Fortran
357 Append underscores to externally visible names
358
359 fworking-directory
360 Fortran
361 ; Documented in C
362
363 idirafter
364 Fortran Joined Separate
365 ; Documented in C
366
367 imultilib
368 Fortran Joined Separate
369 ; Documented in C
370
371 iprefix
372 Fortran Joined Separate
373 ; Documented in C
374
375 iquote
376 Fortran Joined Separate
377 ; Documented in C
378
379 isysroot
380 Fortran Joined Separate
381 ; Documented in C
382
383 isystem
384 Fortran Joined Separate
385 ; Documented in C
386
387 nostdinc
388 Fortran
389 ; Documented in C
390
391 o
392 Fortran Joined Separate
393 ; Documented in common.opt
394
395 static-libgfortran
396 Fortran
397 Statically link the GNU Fortran helper library (libgfortran)
398
399 std=f2003
400 Fortran
401 Conform to the ISO Fortran 2003 standard
402
403 std=f2008
404 Fortran
405 Conform to the ISO Fortran 2008 standard
406
407 std=f95
408 Fortran
409 Conform to the ISO Fortran 95 standard
410
411 std=gnu
412 Fortran
413 Conform to nothing in particular
414
415 std=legacy
416 Fortran
417 Accept extensions to support legacy code
418
419 undef
420 Fortran
421 ; Documented in C
422
423 v
424 Fortran
425 ; Documented in C
426
427 ; This comment is to ensure we retain the blank line above.