OSDN Git Service

fe2c4aa25034a657be758008e3af1a3d90d00cb3
[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 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
38 ; Documented in C
39
40 Waliasing
41 Fortran Warning
42 Warn about possible aliasing of dummy arguments
43
44 Wampersand
45 Fortran Warning
46 Warn about missing ampersand in continued character constants
47
48 Wcharacter-truncation
49 Fortran Warning
50 Warn about truncated character expressions
51
52 Wconversion
53 Fortran Warning
54 Warn about implicit conversion
55
56 Wimplicit-interface
57 Fortran Warning
58 Warn about calls with implicit interface
59
60 Wline-truncation
61 Fortran Warning
62 Warn about truncated source lines
63
64 Wnonstd-intrinsics
65 Fortran Warning
66 Warn about usage of non-standard intrinsics
67
68 Wsurprising
69 Fortran Warning
70 Warn about \"suspicious\" constructs
71
72 Wtabs
73 Fortran Warning
74 Permit nonconforming uses of the tab character
75
76 Wunderflow
77 Fortran Warning
78 Warn about underflow of numerical constant expressions
79
80 fall-intrinsics
81 Fortran RejectNegative
82 All intrinsics procedures are available regardless of selected standard
83
84 fallow-leading-underscore
85 Fortran Undocumented
86 ; For internal use only: allow the first character of symbol names to be an underscore
87
88 fautomatic
89 Fortran
90 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
91
92 fbackslash
93 Fortran
94 Specify that backslash in string introduces an escape character
95
96 fbacktrace
97 Fortran
98 Produce a backtrace when a runtime error is encountered
99
100 fblas-matmul-limit=
101 Fortran RejectNegative Joined UInteger
102 -fblas-matmul-limit=<n>        Size of the smallest matrix for which matmul will use BLAS
103
104 fconvert=big-endian
105 Fortran RejectNegative
106 Use big-endian format for unformatted files
107
108 fconvert=little-endian
109 Fortran RejectNegative
110 Use little-endian format for unformatted files
111
112 fconvert=native
113 Fortran RejectNegative
114 Use native format for unformatted files
115
116 fconvert=swap
117 Fortran RejectNegative
118 Swap endianness for unformatted files
119
120 fcray-pointer
121 Fortran
122 Use the Cray Pointer extension
123
124 fd-lines-as-code
125 Fortran RejectNegative
126 Ignore 'D' in column one in fixed form
127
128 fd-lines-as-comments
129 Fortran RejectNegative
130 Treat lines with 'D' in column one as comments
131
132 fdefault-double-8
133 Fortran
134 Set the default double precision kind to an 8 byte wide type
135
136 fdefault-integer-8
137 Fortran
138 Set the default integer kind to an 8 byte wide type
139
140 fdefault-real-8
141 Fortran
142 Set the default real kind to an 8 byte wide type
143
144 fdollar-ok
145 Fortran
146 Allow dollar signs in entity names
147
148 fdump-core
149 Fortran
150 Dump a core file when a runtime error occurs
151
152 fdump-parse-tree
153 Fortran
154 Display the code tree after parsing
155
156 fexternal-blas
157 Fortran
158 Specify that an external BLAS library should be used for matmul calls on large-size arrays
159
160 ff2c
161 Fortran
162 Use f2c calling convention
163
164 ffixed-form
165 Fortran RejectNegative
166 Assume that the source file is fixed form
167
168 fintrinsic-modules-path
169 Fortran RejectNegative Joined Separate
170 Specify where to find the compiled intrinsic modules
171
172 ffixed-line-length-none
173 Fortran RejectNegative
174 Allow arbitrary character line width in fixed mode
175
176 ffixed-line-length-
177 Fortran RejectNegative Joined UInteger
178 -ffixed-line-length-<n>         Use n as character line width in fixed mode
179
180 ffpe-trap=
181 Fortran RejectNegative JoinedOrMissing
182 -ffpe-trap=[..] Stop on following floating point exceptions
183
184 ffree-form
185 Fortran RejectNegative
186 Assume that the source file is free form
187
188 ffree-line-length-none
189 Fortran RejectNegative
190 Allow arbitrary character line width in free mode
191
192 ffree-line-length-
193 Fortran RejectNegative Joined UInteger
194 -ffree-line-length-<n>          Use n as character line width in free mode
195
196 fimplicit-none
197 Fortran
198 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
199
200 fmax-errors=
201 Fortran RejectNegative Joined UInteger
202 -fmax-errors=<n>        Maximum number of errors to report
203
204 fmax-identifier-length=
205 Fortran RejectNegative Joined UInteger
206 -fmax-identifier-length=<n>     Maximum identifier length
207
208 fmax-subrecord-length=
209 Fortran RejectNegative Joined UInteger
210 -fmax-subrecord-length=<n>      Maximum length for subrecords
211
212 fmax-stack-var-size=
213 Fortran RejectNegative Joined UInteger
214 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
215
216 fopenmp
217 Fortran
218 Enable OpenMP
219
220 fpack-derived
221 Fortran
222 Try to lay out derived types as compactly as possible
223
224 fpreprocessed
225 Fortran
226 Treat the input file as preprocessed
227
228 frange-check
229 Fortran
230 Enable range checking during compilation
231
232 frecord-marker=4
233 Fortran RejectNegative
234 Use a 4-byte record marker for unformatted files
235
236 frecord-marker=8
237 Fortran RejectNegative
238 Use an 8-byte record marker for unformatted files
239
240 frepack-arrays
241 Fortran
242 Copy array sections into a contiguous block on procedure entry
243
244 fsecond-underscore
245 Fortran
246 Append a second underscore if the name already contains an underscore
247
248 fshort-enums
249 Fortran
250 Use the narrowest integer type possible for enumeration types
251
252 funderscoring
253 Fortran
254 Append underscores to externally visible names
255
256 std=f2003
257 Fortran
258 Conform to the ISO Fortran 2003 standard
259
260 std=f95
261 Fortran
262 Conform to the ISO Fortran 95 standard
263
264 std=gnu
265 Fortran
266 Conform to nothing in particular
267
268 std=legacy
269 Fortran
270 Accept extensions to support legacy code
271
272 ; This comment is to ensure we retain the blank line above.