* Make-lang.in (GFORTRAN_TARGET_INSTALL_NAME): Define.
[official-gcc.git] / gcc / fortran / lang.opt
blob66f79db3bee28d2e59ade0f1602c4e4f683a1015
1 ; Options for the Fortran 95 front end.
2 ; Copyright (C) 2003, 2004, 2005 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 Wconversion
45 Fortran
46 Warn about implicit conversion
48 Wimplicit-interface
49 Fortran
50 Warn about calls with implicit interface
52 Wline-truncation
53 Fortran
54 Warn about truncated source lines
56 Wnonstd-intrinsics
57 Fortran
58 Warn about usage of non-standard intrinsics
60 Wsurprising
61 Fortran
62 Warn about \"suspicious\" constructs
64 Wunderflow
65 Fortran
66 Warn about underflow of numerical constant expressions
68 Wunused-labels
69 Fortran
70 Warn when a label is unused
72 fautomatic
73 Fortran
74 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
76 fbackslash
77 Fortran
78 Specify that backslash in string introduces an escape character
80 fdefault-double-8
81 Fortran
82 Set the default double precision kind to an 8 byte wide type
84 fdefault-integer-8
85 Fortran
86 Set the default integer kind to an 8 byte wide type
88 fdefault-real-8
89 Fortran
90 Set the default real kind to an 8 byte wide type
92 fd-lines-as-code
93 Fortran RejectNegative
94 Ignore 'D' in column one in fixed form
96 fd-lines-as-comments
97 Fortran RejectNegative
98 Treat lines with 'D' in column one as comments
100 fdollar-ok
101 Fortran
102 Allow dollar signs in entity names
104 fdump-parse-tree
105 Fortran
106 Display the code tree after parsing
108 ff2c
109 Fortran
110 Use f2c calling convention
112 ffixed-form
113 Fortran
114 Assume that the source file is fixed form
116 ffree-form
117 Fortran
118 Assume that the source file is free form
120 funderscoring
121 Fortran
122 Append underscores to externally visible names
124 fcray-pointer
125 Fortran
126 Use the Cray Pointer extension
128 fsecond-underscore
129 Fortran
130 Append a second underscore if the name already contains an underscore
132 fimplicit-none
133 Fortran
134 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
136 ffixed-line-length-none
137 Fortran RejectNegative
138 Allow arbitrary character line width in fixed mode
140 ffixed-line-length-
141 Fortran RejectNegative Joined UInteger
142 -ffixed-line-length-<n>         Use n as character line width in fixed mode
144 fmax-identifier-length=
145 Fortran RejectNegative Joined UInteger
146 -fmax-identifier-length=<n>     Maximum identifier length
148 fmax-stack-var-size=
149 Fortran RejectNegative Joined UInteger
150 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
152 fmodule-private
153 Fortran
154 Set default accessibility of module entities to PRIVATE
156 fno-backend
157 Fortran RejectNegative
158 Don't generate code, just do syntax and semantics checking
160 fpack-derived
161 Fortran
162 Try to layout derived types as compact as possible
164 frepack-arrays
165 Fortran
166 Copy array sections into a contiguous block on procedure entry
168 qkind=
169 Fortran RejectNegative Joined UInteger
170 -qkind=<n>      Set the kind for a real with the 'q' exponent to 'n'
172 ffpe-trap=
173 Fortran RejectNegative JoinedOrMissing
174 -ffpe-trap=[..] Stop on following floating point exceptions
176 std=f95
177 Fortran
178 Conform to the ISO Fortran 95 standard
180 std=f2003
181 Fortran
182 Conform to the ISO Fortran 2003 standard
184 std=gnu
185 Fortran
186 Conform nothing in particular
188 std=legacy
189 Fortran
190 Accept extensions to support legacy code
192 fshort-enums
193 Fortran
194 Use the narrowest integer type possible for enumeration types
196 ; This comment is to ensure we retain the blank line above.