aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/lang.opt
blob: d6a53b7dcd13be1502ef66833507792c97d55e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
; Options for the Fortran 77 front end.
; Copyright (C) 2003 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
; Software Foundation; either version 2, or (at your option) any later
; version.
; 
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
; for more details.
; 
; You should have received a copy of the GNU General Public License
; along with GCC; see the file COPYING.  If not, write to the Free
; Software Foundation, 59 Temple Place - Suite 330, Boston, MA
; 02111-1307, USA.

; See c.opt for a description of this file's format.

; Please try to keep this file in ASCII collating order.

Language
F77

I
F77 Joined
Add a directory for INCLUDE searching

Wall
F77
; Documented in C

Wcomment
F77

Wcomments
F77

Wglobals
F77
Enable warnings about inter-procedural problems

Wimplicit
F77

Wimport
F77

Wsurprising
F77
Warn about constructs with surprising meanings

Wtrigraphs
F77

fautomatic
F77
Do not treat local variables and COMMON blocks as if they were named in SAVE statements

fbackslash
F77
Backslashes in character and hollerith constants are special (not C-style)

fbadu77-intrinsics-delete
F77 RejectNegative
Delete libU77 intrinsics with bad interfaces

fbadu77-intrinsics-disable
F77 RejectNegative
Disable libU77 intrinsics with bad interfaces

fbadu77-intrinsics-enable
F77 RejectNegative
Enable libU77 intrinsics with bad interfaces

fbadu77-intrinsics-hide
F77 RejectNegative
Hide libU77 intrinsics with bad interfaces

fcase-initcap
F77 RejectNegative
Program written in strict mixed-case

fcase-lower
F77 RejectNegative
Compile as if program written in lowercase

fcase-preserve
F77 RejectNegative
Preserve case used in program

fcase-strict-lower
F77 RejectNegative
Program written in lowercase

fcase-strict-upper
F77 RejectNegative
Program written in uppercase

fcase-upper
F77 RejectNegative
Compile as if program written in uppercase

fdebug-kludge
F77
Emit special debugging information for COMMON and EQUIVALENCE (disabled)

fdollar-ok
F77
Allow '$' in symbol names

femulate-complex
F77
Have front end emulate COMPLEX arithmetic to avoid bugs

ff2c
F77
f2c-compatible code can be generated

ff2c-intrinsics-delete
F77 RejectNegative
Delete non-FORTRAN-77 intrinsics f2c supports

ff2c-intrinsics-disable
F77 RejectNegative
Disable non-FORTRAN-77 intrinsics f2c supports

ff2c-intrinsics-enable
F77 RejectNegative
Enable non-FORTRAN-77 intrinsics f2c supports

ff2c-intrinsics-hide
F77 RejectNegative
Hide non-FORTRAN-77 intrinsics f2c supports

ff2c-library
F77
Unsupported; generate libf2c-calling code

ff66
F77
Program is written in typical FORTRAN 66 dialect

ff77
F77
Program is written in typical Unix-f77 dialect

ff90
F77
Program is written in Fortran-90-ish dialect

ff90-intrinsics-delete
F77 RejectNegative
Delete non-FORTRAN-77 intrinsics F90 supports

ff90-intrinsics-disable
F77 RejectNegative
Disable non-FORTRAN-77 intrinsics F90 supports

ff90-intrinsics-enable
F77 RejectNegative
Enable non-FORTRAN-77 intrinsics F90 supports

ff90-intrinsics-hide
F77 RejectNegative
Hide non-FORTRAN-77 intrinsics F90 supports

ff90-not-vxt
F77 RejectNegative

ffixed-form
F77

ffixed-line-length-
F77 Joined
ffixed-line-length-<number>	Set the maximum line length to <number>

fflatten-arrays
F77
Unsupported; affects code generation of arrays

ffortran-bounds-check
F77
Generate code to check subscript and substring bounds

ffree-form
F77
Program is written in Fortran-90-ish free form

fglobals
F77
Enable fatal diagnostics about inter-procedural problems

fgnu-intrinsics-delete
F77 RejectNegative
Delete non-FORTRAN-77 intrinsics g77 supports

fgnu-intrinsics-disable
F77 RejectNegative
Disable non-FORTRAN 77 intrinsics F90 supports

fgnu-intrinsics-enable
F77 RejectNegative
Enable non-FORTRAN 77 intrinsics F90 supports

fgnu-intrinsics-hide
F77 RejectNegative
Hide non-FORTRAN 77 intrinsics F90 supports

finit-local-zero
F77
Initialize local vars and arrays to zero

fintrin-case-any
F77 RejectNegative
Intrinsics letters in arbitrary cases

fintrin-case-initcap
F77 RejectNegative
Intrinsics spelled as e.g. SqRt

fintrin-case-lower
F77 RejectNegative
Intrinsics in lowercase

fintrin-case-upper
F77 RejectNegative
Intrinsics in uppercase

fmatch-case-any
F77 RejectNegative
Language keyword letters in arbitrary cases

fmatch-case-initcap
F77 RejectNegative
Language keywords spelled as e.g. IOStat

fmatch-case-lower
F77 RejectNegative
Language keywords in lowercase

fmatch-case-upper
F77 RejectNegative
Language keywords in uppercase

fmil-intrinsics-delete
F77 RejectNegative
Delete MIL-STD 1753 intrinsics

fmil-intrinsics-disable
F77 RejectNegative
Disable MIL-STD 1753 intrinsics

fmil-intrinsics-enable
F77 RejectNegative
Enable MIL-STD 1753 intrinsics

fmil-intrinsics-hide
F77 RejectNegative
Hide MIL-STD 1753 intrinsics

fonetrip
F77
Take at least one trip through each iterative DO loop

fpedantic
F77
Warn about use of (only a few for now) Fortran extensions

fpreprocessed
F77

fsecond-underscore
F77
Allow appending a second underscore to externals

fsilent
F77
Do not print names of program units as they are compiled

fsource-case-lower
F77 RejectNegative
Internally convert most source to lowercase

fsource-case-preserve
F77 RejectNegative
Internally preserve source case

fsource-case-upper
F77 RejectNegative
Internally convert most source to uppercase

fsymbol-case-any
F77 RejectNegative

fsymbol-case-initcap
F77 RejectNegative
Symbol names spelled in mixed case

fsymbol-case-lower
F77 RejectNegative
Symbol names in lowercase

fsymbol-case-upper
F77 RejectNegative
Symbol names in uppercase

ftypeless-boz
F77
Make prefix-radix non-decimal constants be typeless

fugly
F77
Allow all ugly features

fugly-args
F77
Hollerith and typeless can be passed as arguments

fugly-assign
F77
Allow ordinary copying of ASSIGN'ed vars

fugly-assumed
F77
Dummy array dimensioned to (1) is assumed-size

fugly-comma
F77
Trailing comma in procedure call denotes null argument

fugly-complex
F77
Allow REAL(Z) and AIMAG(Z) given DOUBLE COMPLEX Z

fugly-init
F77
Initialization via DATA and PARAMETER is not type-compatible

fugly-logint
F77
Allow INTEGER and LOGICAL interchangeability

funderscoring
F77
Append underscores to externals

funix-intrinsics-delete
F77 RejectNegative
Delete libU77 intrinsics

funix-intrinsics-disable
F77 RejectNegative
Disable libU77 intrinsics

funix-intrinsics-enable
F77 RejectNegative
Enable libU77 intrinsics

funix-intrinsics-hide
F77 RejectNegative
Hide libU77 intrinsics

fversion
F77 RejectNegative
Print g77-specific version information and run internal tests

fvxt
F77
Program is written in VXT (Digital-like) FORTRAN

fvxt-intrinsics-delete
F77 RejectNegative
Delete non-FORTRAN-77 intrinsics VXT FORTRAN supports

fvxt-intrinsics-disable
F77 RejectNegative
Disable non-FORTRAN-77 intrinsics VXT FORTRAN supports

fvxt-intrinsics-enable
F77 RejectNegative
Enable non-FORTRAN-77 intrinsics VXT FORTRAN supports

fvxt-intrinsics-hide
F77 RejectNegative
Hide non-FORTRAN-77 intrinsics VXT FORTRAN supports

fvxt-not-f90
F77 RejectNegative

fxyzzy
F77
Print internal debugging-related information

fzeros
F77
Treat initial values of 0 like non-zero values

; This comment is to ensure we retain the blank line above.