Daily bump.
[official-gcc.git] / gcc / fortran / lang.opt
blobebd6b8dd8ec05a379218c3f7862a69d502db14b2
1 ; Options for the Fortran 95 front end.
2 ; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 ; This file is part of GCC.
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.
21 ; See the GCC internals manual for a description of this file's format.
23 ; Please try to keep this file in ASCII collating order.
25 Language
26 Fortran
29 Fortran Joined
30 -I<directory>   Add a directory for INCLUDE and MODULE searching
33 Fortran Joined
34 -J<directory>   Put MODULE files in 'directory'
36 Wall
37 Fortran RejectNegative
38 ; Documented in C
40 Waliasing
41 Fortran
42 Warn about possible aliasing of dummy arguments
44 Wampersand
45 Fortran
46 Warn about missing ampersand in continued character constants
48 Wconversion
49 Fortran
50 Warn about implicit conversion
52 Wimplicit-interface
53 Fortran
54 Warn about calls with implicit interface
56 Wline-truncation
57 Fortran
58 Warn about truncated source lines
60 Wnonstd-intrinsics
61 Fortran
62 Warn about usage of non-standard intrinsics
64 Wsurprising
65 Fortran
66 Warn about \"suspicious\" constructs
68 Wtabs
69 Fortran
70 Permit nonconforming uses of the tab character
72 Wunderflow
73 Fortran
74 Warn about underflow of numerical constant expressions
76 fall-intrinsics
77 Fortran RejectNegative
78 All intrinsics procedures are available regardless of selected standard
80 fautomatic
81 Fortran
82 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
84 fbackslash
85 Fortran
86 Specify that backslash in string introduces an escape character
88 fblas-matmul-limit=
89 Fortran RejectNegative Joined UInteger
90 -fblas-matmul-limit=<n>        Size of the smallest matrix for which matmul will use BLAS
92 fconvert=big-endian
93 Fortran RejectNegative
94 Use big-endian format for unformatted files
96 fconvert=little-endian
97 Fortran RejectNegative
98 Use little-endian format for unformatted files
100 fconvert=native
101 Fortran RejectNegative
102 Use native format for unformatted files
104 fconvert=swap
105 Fortran RejectNegative
106 Swap endianness for unformatted files
108 fcray-pointer
109 Fortran
110 Use the Cray Pointer extension
112 fd-lines-as-code
113 Fortran RejectNegative
114 Ignore 'D' in column one in fixed form
116 fd-lines-as-comments
117 Fortran RejectNegative
118 Treat lines with 'D' in column one as comments
120 fdefault-double-8
121 Fortran
122 Set the default double precision kind to an 8 byte wide type
124 fdefault-integer-8
125 Fortran
126 Set the default integer kind to an 8 byte wide type
128 fdefault-real-8
129 Fortran
130 Set the default real kind to an 8 byte wide type
132 fdollar-ok
133 Fortran
134 Allow dollar signs in entity names
136 fdump-parse-tree
137 Fortran
138 Display the code tree after parsing
140 fexternal-blas
141 Fortran
142 Specify that an external BLAS library should be used for matmul calls on large-size arrays
144 ff2c
145 Fortran
146 Use f2c calling convention
148 ffixed-form
149 Fortran RejectNegative
150 Assume that the source file is fixed form
152 fintrinsic-modules-path
153 Fortran RejectNegative Joined Separate
154 Specify where to find the compiled intrinsic modules
156 ffixed-line-length-none
157 Fortran RejectNegative
158 Allow arbitrary character line width in fixed mode
160 ffixed-line-length-
161 Fortran RejectNegative Joined UInteger
162 -ffixed-line-length-<n>         Use n as character line width in fixed mode
164 ffpe-trap=
165 Fortran RejectNegative JoinedOrMissing
166 -ffpe-trap=[..] Stop on following floating point exceptions
168 ffree-form
169 Fortran RejectNegative
170 Assume that the source file is free form
172 ffree-line-length-none
173 Fortran RejectNegative
174 Allow arbitrary character line width in free mode
176 ffree-line-length-
177 Fortran RejectNegative Joined UInteger
178 -ffree-line-length-<n>          Use n as character line width in free mode
180 fimplicit-none
181 Fortran
182 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
184 fmax-errors=
185 Fortran RejectNegative Joined UInteger
186 -fmax-errors=<n>        Maximum number of errors to report
188 fmax-identifier-length=
189 Fortran RejectNegative Joined UInteger
190 -fmax-identifier-length=<n>     Maximum identifier length
192 fmax-subrecord-length=
193 Fortran RejectNegative Joined UInteger
194 -fmax-subrecord-length=<n>      Maximum length for subrecords
196 fmax-stack-var-size=
197 Fortran RejectNegative Joined UInteger
198 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
200 fopenmp
201 Fortran
202 Enable OpenMP
204 fpack-derived
205 Fortran
206 Try to layout derived types as compact as possible
208 fpreprocessed
209 Fortran
210 Treat the input file as preprocessed
212 frange-check
213 Fortran
214 Enable range checking during compilation
216 frecord-marker=4
217 Fortran RejectNegative
218 Use a 4-byte record marker for unformatted files
220 frecord-marker=8
221 Fortran RejectNegative
222 Use an 8-byte record marker for unformatted files
224 frepack-arrays
225 Fortran
226 Copy array sections into a contiguous block on procedure entry
228 fsecond-underscore
229 Fortran
230 Append a second underscore if the name already contains an underscore
232 fshort-enums
233 Fortran
234 Use the narrowest integer type possible for enumeration types
236 funderscoring
237 Fortran
238 Append underscores to externally visible names
240 std=f2003
241 Fortran
242 Conform to the ISO Fortran 2003 standard
244 std=f95
245 Fortran
246 Conform to the ISO Fortran 95 standard
248 std=gnu
249 Fortran
250 Conform nothing in particular
252 std=legacy
253 Fortran
254 Accept extensions to support legacy code
256 ; This comment is to ensure we retain the blank line above.