]> gcc.gnu.org Git - gcc.git/blame - gcc/fortran/lang.opt
[multiple changes]
[gcc.git] / gcc / fortran / lang.opt
CommitLineData
6de9cd9a 1; Options for the Fortran 95 front end.
aa990c83 2; Copyright (C) 2003, 2004, 2005 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
44Wconversion
7f26dfa3 45Fortran
6de9cd9a
DN
46Warn about implicit conversion
47
48Wimplicit-interface
7f26dfa3 49Fortran
6de9cd9a
DN
50Warn about calls with implicit interface
51
52Wline-truncation
7f26dfa3 53Fortran
6de9cd9a
DN
54Warn about truncated source lines
55
b7892582 56Wnonstd-intrinsics
7f26dfa3 57Fortran
b7892582
JB
58Warn about usage of non-standard intrinsics
59
6de9cd9a 60Wsurprising
7f26dfa3 61Fortran
6de9cd9a
DN
62Warn about \"suspicious\" constructs
63
2d8b59df 64Wunderflow
7f26dfa3 65Fortran
2d8b59df
SK
66Warn about underflow of numerical constant expressions
67
6de9cd9a 68Wunused-labels
7f26dfa3 69Fortran
6de9cd9a
DN
70Warn when a label is unused
71
ee5426a4 72fautomatic
7f26dfa3 73Fortran
ee5426a4
FXC
74Do not treat local variables and COMMON blocks as if they were named in SAVE statements
75
e0bcf78c 76fbackslash
7f26dfa3 77Fortran
e0bcf78c
TS
78Specify that backslash in string introduces an escape character
79
3ae9eb27 80fdefault-double-8
7f26dfa3 81Fortran
3ae9eb27
SK
82Set the default double precision kind to an 8 byte wide type
83
84fdefault-integer-8
7f26dfa3 85Fortran
3ae9eb27
SK
86Set the default integer kind to an 8 byte wide type
87
88fdefault-real-8
7f26dfa3 89Fortran
3ae9eb27 90Set the default real kind to an 8 byte wide type
6de9cd9a 91
e0bcf78c 92fd-lines-as-code
7f26dfa3 93Fortran RejectNegative
e0bcf78c
TS
94Ignore 'D' in column one in fixed form
95
96fd-lines-as-comments
7f26dfa3 97Fortran RejectNegative
e0bcf78c
TS
98Treat lines with 'D' in column one as comments
99
6de9cd9a 100fdollar-ok
7f26dfa3 101Fortran
6de9cd9a
DN
102Allow dollar signs in entity names
103
104fdump-parse-tree
7f26dfa3 105Fortran
c85ce869 106Display the code tree after parsing
6de9cd9a 107
973ff4c0 108ff2c
7f26dfa3 109Fortran
c85ce869 110Use f2c calling convention
973ff4c0 111
6de9cd9a 112ffixed-form
1005cc9c 113Fortran RejectNegative
6de9cd9a
DN
114Assume that the source file is fixed form
115
116ffree-form
1005cc9c 117Fortran RejectNegative
6de9cd9a
DN
118Assume that the source file is free form
119
120funderscoring
7f26dfa3 121Fortran
6de9cd9a
DN
122Append underscores to externally visible names
123
83d890b9
AL
124fcray-pointer
125Fortran
126Use the Cray Pointer extension
127
6de9cd9a 128fsecond-underscore
7f26dfa3 129Fortran
6de9cd9a
DN
130Append a second underscore if the name already contains an underscore
131
132fimplicit-none
7f26dfa3 133Fortran
6de9cd9a
DN
134Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
135
f56c5d5d 136ffixed-line-length-none
7f26dfa3 137Fortran RejectNegative
f56c5d5d 138Allow arbitrary character line width in fixed mode
6de9cd9a 139
f56c5d5d 140ffixed-line-length-
7f26dfa3 141Fortran RejectNegative Joined UInteger
f56c5d5d 142-ffixed-line-length-<n> Use n as character line width in fixed mode
6de9cd9a 143
16ab8e74
BF
144ffree-line-length-none
145Fortran RejectNegative
146Allow arbitrary character line width in free mode
147
148ffree-line-length-
149Fortran RejectNegative Joined UInteger
150-ffree-line-length-<n> Use n as character line width in free mode
151
6de9cd9a 152fmax-identifier-length=
7f26dfa3 153Fortran RejectNegative Joined UInteger
c85ce869 154-fmax-identifier-length=<n> Maximum identifier length
6de9cd9a
DN
155
156fmax-stack-var-size=
7f26dfa3 157Fortran RejectNegative Joined UInteger
6de9cd9a
DN
158-fmax-stack-var-size=<n> Size in bytes of the largest array that will be put on the stack
159
160fmodule-private
7f26dfa3 161Fortran
6de9cd9a
DN
162Set default accessibility of module entities to PRIVATE
163
164fno-backend
7f26dfa3 165Fortran RejectNegative
6de9cd9a
DN
166Don't generate code, just do syntax and semantics checking
167
168fpack-derived
7f26dfa3 169Fortran
6de9cd9a
DN
170Try to layout derived types as compact as possible
171
172frepack-arrays
7f26dfa3 173Fortran
6de9cd9a
DN
174Copy array sections into a contiguous block on procedure entry
175
6de9cd9a 176qkind=
7f26dfa3 177Fortran RejectNegative Joined UInteger
6de9cd9a
DN
178-qkind=<n> Set the kind for a real with the 'q' exponent to 'n'
179
944b8b35
FXC
180ffpe-trap=
181Fortran RejectNegative JoinedOrMissing
182-ffpe-trap=[..] Stop on following floating point exceptions
183
6de9cd9a 184std=f95
7f26dfa3 185Fortran
c85ce869 186Conform to the ISO Fortran 95 standard
6de9cd9a
DN
187
188std=f2003
7f26dfa3 189Fortran
c85ce869 190Conform to the ISO Fortran 2003 standard
6de9cd9a
DN
191
192std=gnu
7f26dfa3 193Fortran
c85ce869 194Conform nothing in particular
6de9cd9a 195
c0309c74 196std=legacy
7f26dfa3 197Fortran
c85ce869 198Accept extensions to support legacy code
c0309c74 199
25d8f0a2
TS
200fshort-enums
201Fortran
202Use the narrowest integer type possible for enumeration types
203
6de9cd9a 204; This comment is to ensure we retain the blank line above.
This page took 0.796995 seconds and 5 git commands to generate.