]> gcc.gnu.org Git - gcc.git/blame - gcc/fortran/lang.opt
lang.opt (-fmodule-private): Remove option.
[gcc.git] / gcc / fortran / lang.opt
CommitLineData
6de9cd9a 1; Options for the Fortran 95 front end.
840bd9f7 2; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6de9cd9a
DN
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
ab57747b
KC
18; Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
19; 02110-1301, USA.
6de9cd9a 20
0b026622 21; See the GCC internals manual for a description of this file's format.
6de9cd9a
DN
22
23; Please try to keep this file in ASCII collating order.
24
25Language
7f26dfa3 26Fortran
6de9cd9a
DN
27
28I
7f26dfa3 29Fortran Joined
6de9cd9a
DN
30-I<directory> Add a directory for INCLUDE and MODULE searching
31
32J
7f26dfa3 33Fortran Joined
6de9cd9a
DN
34-J<directory> Put MODULE files in 'directory'
35
36Wall
7f26dfa3 37Fortran RejectNegative
6de9cd9a
DN
38; Documented in C
39
40Waliasing
7f26dfa3 41Fortran
6de9cd9a
DN
42Warn about possible aliasing of dummy arguments
43
3fbab549
JD
44Wampersand
45Fortran
46Warn about missing ampersand in continued character constants
47
6de9cd9a 48Wconversion
7f26dfa3 49Fortran
6de9cd9a
DN
50Warn about implicit conversion
51
52Wimplicit-interface
7f26dfa3 53Fortran
6de9cd9a
DN
54Warn about calls with implicit interface
55
56Wline-truncation
7f26dfa3 57Fortran
6de9cd9a
DN
58Warn about truncated source lines
59
b7892582 60Wnonstd-intrinsics
7f26dfa3 61Fortran
b7892582
JB
62Warn about usage of non-standard intrinsics
63
6de9cd9a 64Wsurprising
7f26dfa3 65Fortran
6de9cd9a
DN
66Warn about \"suspicious\" constructs
67
840bd9f7
SK
68Wtabs
69Fortran
a23eec13 70Permit nonconforming uses of the tab character
840bd9f7 71
2d8b59df 72Wunderflow
7f26dfa3 73Fortran
2d8b59df
SK
74Warn about underflow of numerical constant expressions
75
a23eec13
SK
76fall-intrinsics
77Fortran RejectNegative
78All intrinsics procedures are available regardless of selected standard
79
ee5426a4 80fautomatic
7f26dfa3 81Fortran
ee5426a4
FXC
82Do not treat local variables and COMMON blocks as if they were named in SAVE statements
83
e0bcf78c 84fbackslash
7f26dfa3 85Fortran
e0bcf78c
TS
86Specify that backslash in string introduces an escape character
87
5a0aad31
FXC
88fexternal-blas
89Fortran
90Specify that an external BLAS library should be used for matmul calls on large-size arrays
91
92fblas-matmul-limit=
93Fortran RejectNegative Joined UInteger
94-fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS
95
3ae9eb27 96fdefault-double-8
7f26dfa3 97Fortran
3ae9eb27
SK
98Set the default double precision kind to an 8 byte wide type
99
100fdefault-integer-8
7f26dfa3 101Fortran
3ae9eb27
SK
102Set the default integer kind to an 8 byte wide type
103
104fdefault-real-8
7f26dfa3 105Fortran
3ae9eb27 106Set the default real kind to an 8 byte wide type
6de9cd9a 107
e0bcf78c 108fd-lines-as-code
7f26dfa3 109Fortran RejectNegative
e0bcf78c
TS
110Ignore 'D' in column one in fixed form
111
112fd-lines-as-comments
7f26dfa3 113Fortran RejectNegative
e0bcf78c
TS
114Treat lines with 'D' in column one as comments
115
6de9cd9a 116fdollar-ok
7f26dfa3 117Fortran
6de9cd9a
DN
118Allow dollar signs in entity names
119
120fdump-parse-tree
7f26dfa3 121Fortran
c85ce869 122Display the code tree after parsing
6de9cd9a 123
973ff4c0 124ff2c
7f26dfa3 125Fortran
c85ce869 126Use f2c calling convention
973ff4c0 127
6de9cd9a 128ffixed-form
1005cc9c 129Fortran RejectNegative
6de9cd9a
DN
130Assume that the source file is fixed form
131
132ffree-form
1005cc9c 133Fortran RejectNegative
6de9cd9a
DN
134Assume that the source file is free form
135
6c7a4dfd
JJ
136fopenmp
137Fortran
138Enable OpenMP
139
6de9cd9a 140funderscoring
7f26dfa3 141Fortran
6de9cd9a
DN
142Append underscores to externally visible names
143
83d890b9
AL
144fcray-pointer
145Fortran
146Use the Cray Pointer extension
147
6de9cd9a 148fsecond-underscore
7f26dfa3 149Fortran
6de9cd9a
DN
150Append a second underscore if the name already contains an underscore
151
152fimplicit-none
7f26dfa3 153Fortran
6de9cd9a
DN
154Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
155
f56c5d5d 156ffixed-line-length-none
7f26dfa3 157Fortran RejectNegative
f56c5d5d 158Allow arbitrary character line width in fixed mode
6de9cd9a 159
f56c5d5d 160ffixed-line-length-
7f26dfa3 161Fortran RejectNegative Joined UInteger
f56c5d5d 162-ffixed-line-length-<n> Use n as character line width in fixed mode
6de9cd9a 163
16ab8e74
BF
164ffree-line-length-none
165Fortran RejectNegative
166Allow arbitrary character line width in free mode
167
168ffree-line-length-
169Fortran RejectNegative Joined UInteger
170-ffree-line-length-<n> Use n as character line width in free mode
171
3f139fcf
BM
172fmax-errors=
173Fortran RejectNegative Joined UInteger
174-fmax-errors=<n> Maximum number of errors to report
175
6de9cd9a 176fmax-identifier-length=
7f26dfa3 177Fortran RejectNegative Joined UInteger
c85ce869 178-fmax-identifier-length=<n> Maximum identifier length
6de9cd9a
DN
179
180fmax-stack-var-size=
7f26dfa3 181Fortran RejectNegative Joined UInteger
6de9cd9a
DN
182-fmax-stack-var-size=<n> Size in bytes of the largest array that will be put on the stack
183
6de9cd9a 184fno-backend
7f26dfa3 185Fortran RejectNegative
6de9cd9a
DN
186Don't generate code, just do syntax and semantics checking
187
54554825
JD
188frange-check
189Fortran
190Enable range checking during compilation
191
6de9cd9a 192fpack-derived
7f26dfa3 193Fortran
6de9cd9a
DN
194Try to layout derived types as compact as possible
195
196frepack-arrays
7f26dfa3 197Fortran
6de9cd9a
DN
198Copy array sections into a contiguous block on procedure entry
199
2d7c7df6
JJ
200fpreprocessed
201Fortran
202Treat the input file as preprocessed
203
944b8b35
FXC
204ffpe-trap=
205Fortran RejectNegative JoinedOrMissing
206-ffpe-trap=[..] Stop on following floating point exceptions
207
6de9cd9a 208std=f95
7f26dfa3 209Fortran
c85ce869 210Conform to the ISO Fortran 95 standard
6de9cd9a
DN
211
212std=f2003
7f26dfa3 213Fortran
c85ce869 214Conform to the ISO Fortran 2003 standard
6de9cd9a
DN
215
216std=gnu
7f26dfa3 217Fortran
c85ce869 218Conform nothing in particular
6de9cd9a 219
c0309c74 220std=legacy
7f26dfa3 221Fortran
c85ce869 222Accept extensions to support legacy code
c0309c74 223
25d8f0a2
TS
224fshort-enums
225Fortran
226Use the narrowest integer type possible for enumeration types
227
eaa90d25
TK
228fconvert=little-endian
229Fortran RejectNegative
230Use little-endian format for unformatted files
231
232fconvert=big-endian
233Fortran RejectNegative
234Use big-endian format for unformatted files
235
236fconvert=native
237Fortran RejectNegative
238Use native format for unformatted files
239
240fconvert=swap
241Fortran RejectNegative
242Swap endianness for unformatted files
243
d67ab5ee
TK
244frecord-marker=4
245Fortran RejectNegative
246Use a 4-byte record marker for unformatted files
247
248frecord-marker=8
249Fortran RejectNegative
250Use an 8-byte record marker for unformatted files
251
6de9cd9a 252; This comment is to ensure we retain the blank line above.
This page took 0.773119 seconds and 5 git commands to generate.