OSDN Git Service

2007-01-18 Francois-Xavier Coudert <coudert@clipper.ens.fr>
[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 fautomatic
85 Fortran
86 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
87
88 fbackslash
89 Fortran
90 Specify that backslash in string introduces an escape character
91
92 fblas-matmul-limit=
93 Fortran RejectNegative Joined UInteger
94 -fblas-matmul-limit=<n>        Size of the smallest matrix for which matmul will use BLAS
95
96 fconvert=big-endian
97 Fortran RejectNegative
98 Use big-endian format for unformatted files
99
100 fconvert=little-endian
101 Fortran RejectNegative
102 Use little-endian format for unformatted files
103
104 fconvert=native
105 Fortran RejectNegative
106 Use native format for unformatted files
107
108 fconvert=swap
109 Fortran RejectNegative
110 Swap endianness for unformatted files
111
112 fcray-pointer
113 Fortran
114 Use the Cray Pointer extension
115
116 fd-lines-as-code
117 Fortran RejectNegative
118 Ignore 'D' in column one in fixed form
119
120 fd-lines-as-comments
121 Fortran RejectNegative
122 Treat lines with 'D' in column one as comments
123
124 fdefault-double-8
125 Fortran
126 Set the default double precision kind to an 8 byte wide type
127
128 fdefault-integer-8
129 Fortran
130 Set the default integer kind to an 8 byte wide type
131
132 fdefault-real-8
133 Fortran
134 Set the default real kind to an 8 byte wide type
135
136 fdollar-ok
137 Fortran
138 Allow dollar signs in entity names
139
140 fdump-core
141 Fortran
142 Dump a core file when a runtime error occurs
143
144 fdump-parse-tree
145 Fortran
146 Display the code tree after parsing
147
148 fexternal-blas
149 Fortran
150 Specify that an external BLAS library should be used for matmul calls on large-size arrays
151
152 ff2c
153 Fortran
154 Use f2c calling convention
155
156 ffixed-form
157 Fortran RejectNegative
158 Assume that the source file is fixed form
159
160 fintrinsic-modules-path
161 Fortran RejectNegative Joined Separate
162 Specify where to find the compiled intrinsic modules
163
164 ffixed-line-length-none
165 Fortran RejectNegative
166 Allow arbitrary character line width in fixed mode
167
168 ffixed-line-length-
169 Fortran RejectNegative Joined UInteger
170 -ffixed-line-length-<n>         Use n as character line width in fixed mode
171
172 ffpe-trap=
173 Fortran RejectNegative JoinedOrMissing
174 -ffpe-trap=[..] Stop on following floating point exceptions
175
176 ffree-form
177 Fortran RejectNegative
178 Assume that the source file is free form
179
180 ffree-line-length-none
181 Fortran RejectNegative
182 Allow arbitrary character line width in free mode
183
184 ffree-line-length-
185 Fortran RejectNegative Joined UInteger
186 -ffree-line-length-<n>          Use n as character line width in free mode
187
188 fimplicit-none
189 Fortran
190 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
191
192 fmax-errors=
193 Fortran RejectNegative Joined UInteger
194 -fmax-errors=<n>        Maximum number of errors to report
195
196 fmax-identifier-length=
197 Fortran RejectNegative Joined UInteger
198 -fmax-identifier-length=<n>     Maximum identifier length
199
200 fmax-subrecord-length=
201 Fortran RejectNegative Joined UInteger
202 -fmax-subrecord-length=<n>      Maximum length for subrecords
203
204 fmax-stack-var-size=
205 Fortran RejectNegative Joined UInteger
206 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
207
208 fopenmp
209 Fortran
210 Enable OpenMP
211
212 fpack-derived
213 Fortran
214 Try to layout derived types as compact as possible
215
216 fpreprocessed
217 Fortran
218 Treat the input file as preprocessed
219
220 frange-check
221 Fortran
222 Enable range checking during compilation
223
224 frecord-marker=4
225 Fortran RejectNegative
226 Use a 4-byte record marker for unformatted files
227
228 frecord-marker=8
229 Fortran RejectNegative
230 Use an 8-byte record marker for unformatted files
231
232 frepack-arrays
233 Fortran
234 Copy array sections into a contiguous block on procedure entry
235
236 fsecond-underscore
237 Fortran
238 Append a second underscore if the name already contains an underscore
239
240 fshort-enums
241 Fortran
242 Use the narrowest integer type possible for enumeration types
243
244 funderscoring
245 Fortran
246 Append underscores to externally visible names
247
248 std=f2003
249 Fortran
250 Conform to the ISO Fortran 2003 standard
251
252 std=f95
253 Fortran
254 Conform to the ISO Fortran 95 standard
255
256 std=gnu
257 Fortran
258 Conform nothing in particular
259
260 std=legacy
261 Fortran
262 Accept extensions to support legacy code
263
264 ; This comment is to ensure we retain the blank line above.