OSDN Git Service

29d4317029aa264587684ae2420d4c7b77922014
[pf3gnuchains/gcc-fork.git] / gcc / fortran / lang.opt
1 ; Options for the Fortran 95 front end.
2 ; Copyright (C) 2003, 2004, 2005 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 F95
27
28 I
29 F95 Joined
30 -I<directory>   Add a directory for INCLUDE and MODULE searching
31
32 J
33 F95 Joined
34 -J<directory>   Put MODULE files in 'directory'
35
36 Wall
37 F95 RejectNegative
38 ; Documented in C
39
40 Waliasing
41 F95
42 Warn about possible aliasing of dummy arguments
43
44 Wconversion
45 F95
46 Warn about implicit conversion
47
48 Wimplicit-interface
49 F95
50 Warn about calls with implicit interface
51
52 Wline-truncation
53 F95
54 Warn about truncated source lines
55
56 Wnonstd-intrinsics
57 F95
58 Warn about usage of non-standard intrinsics
59
60 Wsurprising
61 F95
62 Warn about \"suspicious\" constructs
63
64 Wunderflow
65 F95
66 Warn about underflow of numerical constant expressions
67
68 Wunused-labels
69 F95
70 Warn when a label is unused
71
72 fbackslash
73 F95
74 Specify that backslash in string introduces an escape character
75
76 fdefault-double-8
77 F95
78 Set the default double precision kind to an 8 byte wide type
79
80 fdefault-integer-8
81 F95
82 Set the default integer kind to an 8 byte wide type
83
84 fdefault-real-8
85 F95
86 Set the default real kind to an 8 byte wide type
87
88 fd-lines-as-code
89 F95 RejectNegative
90 Ignore 'D' in column one in fixed form
91
92 fd-lines-as-comments
93 F95 RejectNegative
94 Treat lines with 'D' in column one as comments
95
96 fdollar-ok
97 F95
98 Allow dollar signs in entity names
99
100 fdump-parse-tree
101 F95
102 Display the code tree after parsing
103
104 ff2c
105 F95
106 Use f2c calling convention
107
108 ffixed-form
109 F95
110 Assume that the source file is fixed form
111
112 ffree-form
113 F95
114 Assume that the source file is free form
115
116 funderscoring
117 F95
118 Append underscores to externally visible names
119
120 fsecond-underscore
121 F95
122 Append a second underscore if the name already contains an underscore
123
124 fimplicit-none
125 F95
126 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
127
128 ffixed-line-length-none
129 F95 RejectNegative
130 Allow arbitrary character line width in fixed mode
131
132 ffixed-line-length-
133 F95 RejectNegative Joined UInteger
134 -ffixed-line-length-<n>         Use n as character line width in fixed mode
135
136 fmax-identifier-length=
137 F95 RejectNegative Joined UInteger
138 -fmax-identifier-length=<n>     Maximum identifier length
139
140 fmax-stack-var-size=
141 F95 RejectNegative Joined UInteger
142 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
143
144 fmodule-private
145 F95
146 Set default accessibility of module entities to PRIVATE
147
148 fno-backend
149 F95 RejectNegative
150 Don't generate code, just do syntax and semantics checking
151
152 fpack-derived
153 F95
154 Try to layout derived types as compact as possible
155
156 frepack-arrays
157 F95
158 Copy array sections into a contiguous block on procedure entry
159
160 qkind=
161 F95 RejectNegative Joined UInteger
162 -qkind=<n>      Set the kind for a real with the 'q' exponent to 'n'
163
164 std=f95
165 F95
166 Conform to the ISO Fortran 95 standard
167
168 std=f2003
169 F95
170 Conform to the ISO Fortran 2003 standard
171
172 std=gnu
173 F95
174 Conform nothing in particular
175
176 std=legacy
177 F95
178 Accept extensions to support legacy code
179
180 ; This comment is to ensure we retain the blank line above.