2006-03-22 Thomas Koenig <Thomas.Koenig@onlien.de>
[official-gcc.git] / gcc / fortran / lang.opt
blob853653abfeb6a0f17ee3307cd18fc22b50fedce8
1 ; Options for the Fortran 95 front end.
2 ; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 ; This file is part of GCC.
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.
21 ; See the GCC internals manual for a description of this file's format.
23 ; Please try to keep this file in ASCII collating order.
25 Language
26 Fortran
29 Fortran Joined
30 -I<directory>   Add a directory for INCLUDE and MODULE searching
33 Fortran Joined
34 -J<directory>   Put MODULE files in 'directory'
36 Wall
37 Fortran RejectNegative
38 ; Documented in C
40 Waliasing
41 Fortran
42 Warn about possible aliasing of dummy arguments
44 Wampersand
45 Fortran
46 Warn about missing ampersand in continued character constants
48 Wconversion
49 Fortran
50 Warn about implicit conversion
52 Wimplicit-interface
53 Fortran
54 Warn about calls with implicit interface
56 Wline-truncation
57 Fortran
58 Warn about truncated source lines
60 Wnonstd-intrinsics
61 Fortran
62 Warn about usage of non-standard intrinsics
64 Wsurprising
65 Fortran
66 Warn about \"suspicious\" constructs
68 Wtabs
69 Fortran
70 Warn about nonconforming uses of the tab character
72 Wunderflow
73 Fortran
74 Warn about underflow of numerical constant expressions
76 Wunused-labels
77 Fortran
78 Warn when a label is unused
80 fautomatic
81 Fortran
82 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
84 fbackslash
85 Fortran
86 Specify that backslash in string introduces an escape character
88 fdefault-double-8
89 Fortran
90 Set the default double precision kind to an 8 byte wide type
92 fdefault-integer-8
93 Fortran
94 Set the default integer kind to an 8 byte wide type
96 fdefault-real-8
97 Fortran
98 Set the default real kind to an 8 byte wide type
100 fd-lines-as-code
101 Fortran RejectNegative
102 Ignore 'D' in column one in fixed form
104 fd-lines-as-comments
105 Fortran RejectNegative
106 Treat lines with 'D' in column one as comments
108 fdollar-ok
109 Fortran
110 Allow dollar signs in entity names
112 fdump-parse-tree
113 Fortran
114 Display the code tree after parsing
116 ff2c
117 Fortran
118 Use f2c calling convention
120 ffixed-form
121 Fortran RejectNegative
122 Assume that the source file is fixed form
124 ffree-form
125 Fortran RejectNegative
126 Assume that the source file is free form
128 fopenmp
129 Fortran
130 Enable OpenMP
132 funderscoring
133 Fortran
134 Append underscores to externally visible names
136 fcray-pointer
137 Fortran
138 Use the Cray Pointer extension
140 fsecond-underscore
141 Fortran
142 Append a second underscore if the name already contains an underscore
144 fimplicit-none
145 Fortran
146 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
148 ffixed-line-length-none
149 Fortran RejectNegative
150 Allow arbitrary character line width in fixed mode
152 ffixed-line-length-
153 Fortran RejectNegative Joined UInteger
154 -ffixed-line-length-<n>         Use n as character line width in fixed mode
156 ffree-line-length-none
157 Fortran RejectNegative
158 Allow arbitrary character line width in free mode
160 ffree-line-length-
161 Fortran RejectNegative Joined UInteger
162 -ffree-line-length-<n>          Use n as character line width in free mode
164 fmax-identifier-length=
165 Fortran RejectNegative Joined UInteger
166 -fmax-identifier-length=<n>     Maximum identifier length
168 fmax-stack-var-size=
169 Fortran RejectNegative Joined UInteger
170 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
172 fmodule-private
173 Fortran
174 Set default accessibility of module entities to PRIVATE
176 fno-backend
177 Fortran RejectNegative
178 Don't generate code, just do syntax and semantics checking
180 fpack-derived
181 Fortran
182 Try to layout derived types as compact as possible
184 frepack-arrays
185 Fortran
186 Copy array sections into a contiguous block on procedure entry
188 fpreprocessed
189 Fortran
190 Treat the input file as preprocessed
192 qkind=
193 Fortran RejectNegative Joined UInteger
194 -qkind=<n>      Set the kind for a real with the 'q' exponent to 'n'
196 ffpe-trap=
197 Fortran RejectNegative JoinedOrMissing
198 -ffpe-trap=[..] Stop on following floating point exceptions
200 std=f95
201 Fortran
202 Conform to the ISO Fortran 95 standard
204 std=f2003
205 Fortran
206 Conform to the ISO Fortran 2003 standard
208 std=gnu
209 Fortran
210 Conform nothing in particular
212 std=legacy
213 Fortran
214 Accept extensions to support legacy code
216 fshort-enums
217 Fortran
218 Use the narrowest integer type possible for enumeration types
220 fconvert=little-endian
221 Fortran RejectNegative
222 Use little-endian format for unformatted files
224 fconvert=big-endian
225 Fortran RejectNegative
226 Use big-endian format for unformatted files
228 fconvert=native
229 Fortran RejectNegative
230 Use native format for unformatted files
232 fconvert=swap
233 Fortran RejectNegative
234 Swap endianness for unformatted files
236 frecord-marker=4
237 Fortran RejectNegative
238 Use a 4-byte record marker for unformatted files
240 frecord-marker=8
241 Fortran RejectNegative
242 Use an 8-byte record marker for unformatted files
244 ; This comment is to ensure we retain the blank line above.