OSDN Git Service

2011-10-15 Tobias Burnus <burnus@net-b.de>
[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, 2009, 2010
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 -all-warnings
29 Fortran Alias(Wall)
30
31 -assert
32 Fortran Separate Alias(A)
33
34 -assert=
35 Fortran Joined Alias(A)
36
37 -comments
38 Fortran Alias(C)
39
40 -comments-in-macros
41 Fortran Alias(CC)
42
43 -define-macro
44 Fortran Separate Alias(D)
45
46 -define-macro=
47 Fortran Joined Alias(D)
48
49 -dependencies
50 Fortran Alias(M)
51
52 -dump
53 Fortran Separate Alias(d)
54
55 -dump=
56 Fortran Joined Alias(d)
57
58 -include-barrier
59 Fortran Alias(I, -)
60
61 -include-directory
62 Fortran Separate Alias(I)
63
64 -include-directory=
65 Fortran Joined Alias(I)
66
67 -include-directory-after
68 Fortran Separate Alias(idirafter)
69
70 -include-directory-after=
71 Fortran Joined Alias(idirafter)
72
73 -include-prefix
74 Fortran Separate Alias(iprefix)
75
76 -include-prefix=
77 Fortran JoinedOrMissing Alias(iprefix)
78
79 -no-line-commands
80 Fortran Alias(P)
81
82 -no-standard-includes
83 Fortran Alias(nostdinc)
84
85 -output
86 Fortran Separate Alias(o)
87
88 -output=
89 Fortran Joined Alias(o)
90
91 -preprocess
92 Fortran Undocumented Alias(E)
93
94 -print-missing-file-dependencies
95 Fortran Alias(MG)
96
97 -trace-includes
98 Fortran Alias(H)
99
100 -undefine-macro
101 Fortran Separate Alias(U)
102
103 -undefine-macro=
104 Fortran Joined Alias(U)
105
106 -user-dependencies
107 Fortran Alias(MM)
108
109 -verbose
110 Fortran Alias(v)
111
112 -write-dependencies
113 Fortran NoDriverArg Separate Alias(MD)
114
115 -write-user-dependencies
116 Fortran NoDriverArg Separate Alias(MMD)
117
118 A
119 Fortran Joined Separate
120 ; Documented in C
121
122 C
123 Fortran
124 ; Documented in C
125
126 CC
127 Fortran
128 ; Documented in C
129
130 D
131 Fortran Joined Separate
132 ; Documented in C
133
134 E
135 Fortran Undocumented
136
137 H
138 Fortran
139 ; Documented in C
140
141 I
142 Fortran Joined Separate
143 ; Documented in C
144
145 J
146 Fortran Joined Separate
147 -J<directory>   Put MODULE files in 'directory'
148
149 M
150 Fortran
151 ; Documented in C
152
153 MD
154 Fortran Separate NoDriverArg
155 ; Documented in C
156
157 MF
158 Fortran Joined Separate
159 ; Documented in C
160
161 MG
162 Fortran
163 ; Documented in C
164
165 MM
166 Fortran
167 ; Documented in C
168
169 MMD
170 Fortran Separate NoDriverArg
171 ; Documented in C
172
173 MP
174 Fortran
175 ; Documented in C
176
177 MT
178 Fortran Joined Separate
179 ; Documented in C
180
181 MQ
182 Fortran Joined Separate
183 ; Documented in C
184
185 P
186 Fortran
187 ; Documented in C
188
189 U
190 Fortran Joined Separate
191 ; Documented in C
192
193 Wall
194 Fortran
195 ; Documented in C
196
197 Waliasing
198 Fortran Warning
199 Warn about possible aliasing of dummy arguments
200
201 Walign-commons
202 Fortran Warning
203 Warn about alignment of COMMON blocks
204
205 Wampersand
206 Fortran Warning
207 Warn about missing ampersand in continued character constants
208
209 Warray-temporaries
210 Fortran Warning
211 Warn about creation of array temporaries
212
213 Wcharacter-truncation
214 Fortran Warning
215 Warn about truncated character expressions
216
217 Wconversion
218 Fortran Warning
219 ; Documented in C
220
221 Wconversion-extra
222 Fortran Warning
223 Warn about most implicit conversions
224
225 Wfunction-elimination
226 Fortran Warning
227 Warn about function call elimination
228
229 Wimplicit-interface
230 Fortran Warning
231 Warn about calls with implicit interface
232
233 Wimplicit-procedure
234 Fortran Warning
235 Warn about called procedures not explicitly declared
236
237 Wline-truncation
238 Fortran Warning
239 Warn about truncated source lines
240
241 Wintrinsics-std
242 Fortran Warning
243 Warn on intrinsics not part of the selected standard
244
245 Wreal-q-constant
246 Fortran Warning
247 Warn about real-literal-constants with 'q' exponent-letter
248
249 Wreturn-type
250 Fortran Warning
251 ; Documented in C
252
253 Wsurprising
254 Fortran Warning
255 Warn about \"suspicious\" constructs
256
257 Wtabs
258 Fortran Warning
259 Permit nonconforming uses of the tab character
260
261 Wunderflow
262 Fortran Warning
263 Warn about underflow of numerical constant expressions
264
265 Wintrinsic-shadow
266 Fortran Warning
267 Warn if a user-procedure has the same name as an intrinsic
268
269 Wunused-dummy-argument
270 Fortran Warning
271 Warn about unused dummy arguments.
272
273 cpp
274 Fortran Negative(nocpp)
275 Enable preprocessing
276
277 cpp=
278 Fortran Joined Negative(nocpp) Undocumented
279 ; Internal option generated by specs from -cpp.
280
281 nocpp
282 Fortran Negative(cpp)
283 Disable preprocessing
284
285 d
286 Fortran Joined
287 ; Documented in common.opt
288
289 faggressive-function-elimination
290 Fortran
291 Eliminate multiple function invokations also for impure functions
292
293 falign-commons
294 Fortran
295 Enable alignment of COMMON blocks
296
297 fall-intrinsics
298 Fortran RejectNegative
299 All intrinsics procedures are available regardless of selected standard
300
301 fallow-leading-underscore
302 Fortran Undocumented
303 ; For internal use only: allow the first character of symbol names to be an underscore
304
305 fautomatic
306 Fortran
307 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
308
309 fbackslash
310 Fortran
311 Specify that backslash in string introduces an escape character
312
313 fbacktrace
314 Fortran
315 Produce a backtrace when a runtime error is encountered
316
317 fblas-matmul-limit=
318 Fortran RejectNegative Joined UInteger
319 -fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS
320
321 fcheck-array-temporaries
322 Fortran
323 Produce a warning at runtime if a array temporary has been created for a procedure argument
324
325 fconvert=big-endian
326 Fortran RejectNegative
327 Use big-endian format for unformatted files
328
329 fconvert=little-endian
330 Fortran RejectNegative
331 Use little-endian format for unformatted files
332
333 fconvert=native
334 Fortran RejectNegative
335 Use native format for unformatted files
336
337 fconvert=swap
338 Fortran RejectNegative
339 Swap endianness for unformatted files
340
341 fcray-pointer
342 Fortran
343 Use the Cray Pointer extension
344
345 fd-lines-as-code
346 Fortran RejectNegative
347 Ignore 'D' in column one in fixed form
348
349 fd-lines-as-comments
350 Fortran RejectNegative
351 Treat lines with 'D' in column one as comments
352
353 fdefault-double-8
354 Fortran
355 Set the default double precision kind to an 8 byte wide type
356
357 fdefault-integer-8
358 Fortran
359 Set the default integer kind to an 8 byte wide type
360
361 fdefault-real-8
362 Fortran
363 Set the default real kind to an 8 byte wide type
364
365 fdollar-ok
366 Fortran
367 Allow dollar signs in entity names
368
369 fdump-core
370 Fortran Ignore
371 Does nothing. Preserved for backward compatibility.
372
373 fdump-fortran-original
374 Fortran
375 Display the code tree after parsing
376
377 fdump-fortran-optimized
378 Fortran
379 Display the code tree after front end optimization
380
381 fdump-parse-tree
382 Fortran
383 Display the code tree after parsing; deprecated option
384
385 fexternal-blas
386 Fortran
387 Specify that an external BLAS library should be used for matmul calls on large-size arrays
388
389 ff2c
390 Fortran
391 Use f2c calling convention
392
393 ffixed-form
394 Fortran RejectNegative
395 Assume that the source file is fixed form
396
397 fintrinsic-modules-path
398 Fortran RejectNegative Joined Separate
399 Specify where to find the compiled intrinsic modules
400
401 ffixed-line-length-none
402 Fortran RejectNegative
403 Allow arbitrary character line width in fixed mode
404
405 ffixed-line-length-
406 Fortran RejectNegative Joined UInteger
407 -ffixed-line-length-<n> Use n as character line width in fixed mode
408
409 ffpe-trap=
410 Fortran RejectNegative JoinedOrMissing
411 -ffpe-trap=[...]        Stop on following floating point exceptions
412
413 ffree-form
414 Fortran RejectNegative
415 Assume that the source file is free form
416
417 ffree-line-length-none
418 Fortran RejectNegative
419 Allow arbitrary character line width in free mode
420
421 ffree-line-length-
422 Fortran RejectNegative Joined UInteger
423 -ffree-line-length-<n>  Use n as character line width in free mode
424
425 ffrontend-optimize
426 Fortran
427 Enable front end optimization
428
429 fimplicit-none
430 Fortran
431 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
432
433 finit-character=
434 Fortran RejectNegative Joined UInteger
435 -finit-character=<n>    Initialize local character variables to ASCII value n
436
437 finit-integer=
438 Fortran RejectNegative Joined
439 -finit-integer=<n>      Initialize local integer variables to n
440
441 finit-local-zero
442 Fortran
443 Initialize local variables to zero (from g77)
444
445 finit-logical=
446 Fortran RejectNegative Joined
447 -finit-logical=<true|false>     Initialize local logical variables
448
449 finit-real=
450 Fortran RejectNegative Joined
451 -finit-real=<zero|nan|inf|-inf> Initialize local real variables
452
453 fmax-array-constructor=
454 Fortran RejectNegative Joined UInteger
455 -fmax-array-constructor=<n>     Maximum number of objects in an array constructor
456
457 fmax-identifier-length=
458 Fortran RejectNegative Joined UInteger
459 -fmax-identifier-length=<n>     Maximum identifier length
460
461 fmax-subrecord-length=
462 Fortran RejectNegative Joined UInteger
463 -fmax-subrecord-length=<n>      Maximum length for subrecords
464
465 fmax-stack-var-size=
466 Fortran RejectNegative Joined UInteger
467 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
468
469 fstack-arrays
470 Fortran
471 Put all local arrays on stack.
472
473 fmodule-private
474 Fortran
475 Set default accessibility of module entities to PRIVATE.
476
477 fopenmp
478 Fortran
479 ; Documented in C
480
481 fpack-derived
482 Fortran
483 Try to lay out derived types as compactly as possible
484
485 fpreprocessed
486 Fortran
487 ; Documented in C
488
489 fprotect-parens
490 Fortran
491 Protect parentheses in expressions
492
493 frange-check
494 Fortran
495 Enable range checking during compilation
496
497 frealloc-lhs
498 Fortran
499 Reallocate the LHS in assignments
500
501 frecord-marker=4
502 Fortran RejectNegative
503 Use a 4-byte record marker for unformatted files
504
505 frecord-marker=8
506 Fortran RejectNegative
507 Use an 8-byte record marker for unformatted files
508
509 frecursive
510 Fortran
511 Allocate local variables on the stack to allow indirect recursion
512
513 frepack-arrays
514 Fortran
515 Copy array sections into a contiguous block on procedure entry
516
517 fcoarray=
518 Fortran RejectNegative JoinedOrMissing
519 -fcoarray=[...] Specify which coarray parallelization should be used
520
521 fcheck=
522 Fortran RejectNegative JoinedOrMissing
523 -fcheck=[...]   Specify which runtime checks are to be performed
524
525 fsecond-underscore
526 Fortran
527 Append a second underscore if the name already contains an underscore
528
529 fshort-enums
530 Fortran Var(flag_short_enums)
531 ; Documented in C
532
533 fsign-zero
534 Fortran
535 Apply negative sign to zero values
536
537 funderscoring
538 Fortran
539 Append underscores to externally visible names
540
541 fwhole-file
542 Fortran
543 Compile all program units at once and check all interfaces
544
545 fworking-directory
546 Fortran
547 ; Documented in C
548
549 idirafter
550 Fortran Joined Separate
551 ; Documented in C
552
553 imultilib
554 Fortran Joined Separate
555 ; Documented in C
556
557 iprefix
558 Fortran Joined Separate
559 ; Documented in C
560
561 iquote
562 Fortran Joined Separate
563 ; Documented in C
564
565 isysroot
566 Fortran Joined Separate
567 ; Documented in C
568
569 isystem
570 Fortran Joined Separate
571 ; Documented in C
572
573 nostdinc
574 Fortran
575 ; Documented in C
576
577 o
578 Fortran Joined Separate
579 ; Documented in common.opt
580
581 static-libgfortran
582 Fortran
583 Statically link the GNU Fortran helper library (libgfortran)
584
585 std=f2003
586 Fortran
587 Conform to the ISO Fortran 2003 standard
588
589 std=f2008
590 Fortran
591 Conform to the ISO Fortran 2008 standard
592
593 std=f2008ts
594 Fortran
595 Conform to the ISO Fortran 2008 standard including TS 29113
596
597 std=f95
598 Fortran
599 Conform to the ISO Fortran 95 standard
600
601 std=gnu
602 Fortran
603 Conform to nothing in particular
604
605 std=legacy
606 Fortran
607 Accept extensions to support legacy code
608
609 undef
610 Fortran
611 ; Documented in C
612
613 v
614 Fortran
615 ; Documented in C
616
617 ; This comment is to ensure we retain the blank line above.