OSDN Git Service

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