OSDN Git Service

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