OSDN Git Service

2006-06-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
[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 Wconversion
49 Fortran
50 Warn about implicit conversion
51
52 Wimplicit-interface
53 Fortran
54 Warn about calls with implicit interface
55
56 Wline-truncation
57 Fortran
58 Warn about truncated source lines
59
60 Wnonstd-intrinsics
61 Fortran
62 Warn about usage of non-standard intrinsics
63
64 Wsurprising
65 Fortran
66 Warn about \"suspicious\" constructs
67
68 Wtabs
69 Fortran
70 Permit nonconforming uses of the tab character
71
72 Wunderflow
73 Fortran
74 Warn about underflow of numerical constant expressions
75
76 Wunused-labels
77 Fortran
78 Warn when a label is unused
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 fdefault-double-8
93 Fortran
94 Set the default double precision kind to an 8 byte wide type
95
96 fdefault-integer-8
97 Fortran
98 Set the default integer kind to an 8 byte wide type
99
100 fdefault-real-8
101 Fortran
102 Set the default real kind to an 8 byte wide type
103
104 fd-lines-as-code
105 Fortran RejectNegative
106 Ignore 'D' in column one in fixed form
107
108 fd-lines-as-comments
109 Fortran RejectNegative
110 Treat lines with 'D' in column one as comments
111
112 fdollar-ok
113 Fortran
114 Allow dollar signs in entity names
115
116 fdump-parse-tree
117 Fortran
118 Display the code tree after parsing
119
120 ff2c
121 Fortran
122 Use f2c calling convention
123
124 ffixed-form
125 Fortran RejectNegative
126 Assume that the source file is fixed form
127
128 ffree-form
129 Fortran RejectNegative
130 Assume that the source file is free form
131
132 fopenmp
133 Fortran
134 Enable OpenMP
135
136 funderscoring
137 Fortran
138 Append underscores to externally visible names
139
140 fcray-pointer
141 Fortran
142 Use the Cray Pointer extension
143
144 fsecond-underscore
145 Fortran
146 Append a second underscore if the name already contains an underscore
147
148 fimplicit-none
149 Fortran
150 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
151
152 ffixed-line-length-none
153 Fortran RejectNegative
154 Allow arbitrary character line width in fixed mode
155
156 ffixed-line-length-
157 Fortran RejectNegative Joined UInteger
158 -ffixed-line-length-<n>         Use n as character line width in fixed mode
159
160 ffree-line-length-none
161 Fortran RejectNegative
162 Allow arbitrary character line width in free mode
163
164 ffree-line-length-
165 Fortran RejectNegative Joined UInteger
166 -ffree-line-length-<n>          Use n as character line width in free mode
167
168 fmax-identifier-length=
169 Fortran RejectNegative Joined UInteger
170 -fmax-identifier-length=<n>     Maximum identifier length
171
172 fmax-stack-var-size=
173 Fortran RejectNegative Joined UInteger
174 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
175
176 fmodule-private
177 Fortran
178 Set default accessibility of module entities to PRIVATE
179
180 fno-backend
181 Fortran RejectNegative
182 Don't generate code, just do syntax and semantics checking
183
184 frange-check
185 Fortran
186 Enable range checking during compilation
187
188 fpack-derived
189 Fortran
190 Try to layout derived types as compact as possible
191
192 frepack-arrays
193 Fortran
194 Copy array sections into a contiguous block on procedure entry
195
196 fpreprocessed
197 Fortran
198 Treat the input file as preprocessed
199
200 qkind=
201 Fortran RejectNegative Joined UInteger
202 -qkind=<n>      Set the kind for a real with the 'q' exponent to 'n'
203
204 ffpe-trap=
205 Fortran RejectNegative JoinedOrMissing
206 -ffpe-trap=[..] Stop on following floating point exceptions
207
208 std=f95
209 Fortran
210 Conform to the ISO Fortran 95 standard
211
212 std=f2003
213 Fortran
214 Conform to the ISO Fortran 2003 standard
215
216 std=gnu
217 Fortran
218 Conform nothing in particular
219
220 std=legacy
221 Fortran
222 Accept extensions to support legacy code
223
224 fshort-enums
225 Fortran
226 Use the narrowest integer type possible for enumeration types
227
228 fconvert=little-endian
229 Fortran RejectNegative
230 Use little-endian format for unformatted files
231
232 fconvert=big-endian
233 Fortran RejectNegative
234 Use big-endian format for unformatted files
235
236 fconvert=native
237 Fortran RejectNegative
238 Use native format for unformatted files
239
240 fconvert=swap
241 Fortran RejectNegative
242 Swap endianness for unformatted files
243
244 frecord-marker=4
245 Fortran RejectNegative
246 Use a 4-byte record marker for unformatted files
247
248 frecord-marker=8
249 Fortran RejectNegative
250 Use an 8-byte record marker for unformatted files
251
252 ; This comment is to ensure we retain the blank line above.