OSDN Git Service

b7444245fdf1a4ae64fd3bfda10dba63a01cc929
[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-parse-tree
141 Fortran
142 Display the code tree after parsing
143
144 fexternal-blas
145 Fortran
146 Specify that an external BLAS library should be used for matmul calls on large-size arrays
147
148 ff2c
149 Fortran
150 Use f2c calling convention
151
152 ffixed-form
153 Fortran RejectNegative
154 Assume that the source file is fixed form
155
156 fintrinsic-modules-path
157 Fortran RejectNegative Joined Separate
158 Specify where to find the compiled intrinsic modules
159
160 ffixed-line-length-none
161 Fortran RejectNegative
162 Allow arbitrary character line width in fixed mode
163
164 ffixed-line-length-
165 Fortran RejectNegative Joined UInteger
166 -ffixed-line-length-<n>         Use n as character line width in fixed mode
167
168 ffpe-trap=
169 Fortran RejectNegative JoinedOrMissing
170 -ffpe-trap=[..] Stop on following floating point exceptions
171
172 ffree-form
173 Fortran RejectNegative
174 Assume that the source file is free form
175
176 ffree-line-length-none
177 Fortran RejectNegative
178 Allow arbitrary character line width in free mode
179
180 ffree-line-length-
181 Fortran RejectNegative Joined UInteger
182 -ffree-line-length-<n>          Use n as character line width in free mode
183
184 fimplicit-none
185 Fortran
186 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
187
188 fmax-errors=
189 Fortran RejectNegative Joined UInteger
190 -fmax-errors=<n>        Maximum number of errors to report
191
192 fmax-identifier-length=
193 Fortran RejectNegative Joined UInteger
194 -fmax-identifier-length=<n>     Maximum identifier length
195
196 fmax-subrecord-length=
197 Fortran RejectNegative Joined UInteger
198 -fmax-subrecord-length=<n>      Maximum length for subrecords
199
200 fmax-stack-var-size=
201 Fortran RejectNegative Joined UInteger
202 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
203
204 fopenmp
205 Fortran
206 Enable OpenMP
207
208 fpack-derived
209 Fortran
210 Try to layout derived types as compact as possible
211
212 fpreprocessed
213 Fortran
214 Treat the input file as preprocessed
215
216 frange-check
217 Fortran
218 Enable range checking during compilation
219
220 frecord-marker=4
221 Fortran RejectNegative
222 Use a 4-byte record marker for unformatted files
223
224 frecord-marker=8
225 Fortran RejectNegative
226 Use an 8-byte record marker for unformatted files
227
228 frepack-arrays
229 Fortran
230 Copy array sections into a contiguous block on procedure entry
231
232 fsecond-underscore
233 Fortran
234 Append a second underscore if the name already contains an underscore
235
236 fshort-enums
237 Fortran
238 Use the narrowest integer type possible for enumeration types
239
240 funderscoring
241 Fortran
242 Append underscores to externally visible names
243
244 std=f2003
245 Fortran
246 Conform to the ISO Fortran 2003 standard
247
248 std=f95
249 Fortran
250 Conform to the ISO Fortran 95 standard
251
252 std=gnu
253 Fortran
254 Conform nothing in particular
255
256 std=legacy
257 Fortran
258 Accept extensions to support legacy code
259
260 ; This comment is to ensure we retain the blank line above.