Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git] / gcc / fortran / lang.opt
blob976a2b436d246ffce5073bd0ac53634928473dcc
1 ; Options for the Fortran 95 front end.
2 ; Copyright (C) 2003, 2004 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, 59 Temple Place - Suite 330, Boston, MA
19 ; 02111-1307, USA.
21 ; See c.opt for a description of this file's format.
23 ; Please try to keep this file in ASCII collating order.
25 Language
26 F95
29 F95 Joined
30 -I<directory>   Add a directory for INCLUDE and MODULE searching
33 F95 Joined
34 -J<directory>   Put MODULE files in 'directory'
36 Wall
37 F95 RejectNegative
38 ; Documented in C
40 Waliasing
41 F95
42 Warn about possible aliasing of dummy arguments
44 Wconversion
45 F95
46 Warn about implicit conversion
48 Wimplicit-interface
49 F95
50 Warn about calls with implicit interface
52 Wline-truncation
53 F95
54 Warn about truncated source lines
56 Wnonstd-intrinsics
57 F95
58 Warn about usage of non-standard intrinsics
60 Wsurprising
61 F95
62 Warn about \"suspicious\" constructs
64 Wunderflow
65 F95
66 Warn about underflow of numerical constant expressions
68 Wunused-labels
69 F95
70 Warn when a label is unused
73 F95 RejectNegative
74 Set the default real and integer kinds to double precision
76 fdollar-ok
77 F95
78 Allow dollar signs in entity names
80 fdump-parse-tree
81 F95
82 Display the code tree after parsing.
84 ffixed-form
85 F95
86 Assume that the source file is fixed form
88 ffree-form
89 F95
90 Assume that the source file is free form
92 funderscoring
93 F95
94 Append underscores to externally visible names
96 fsecond-underscore
97 F95
98 Append a second underscore if the name already contains an underscore
100 fimplicit-none
102 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
104 ffixed-line-length-none
105 F95 RejectNegative
106 Allow arbitrary character line width in fixed mode
108 ffixed-line-length-
109 F95 RejectNegative Joined UInteger
110 -ffixed-line-length-<n>         Use n as character line width in fixed mode
112 fmax-identifier-length=
113 F95 RejectNegative Joined UInteger
114 -fmax-identifier-length=<n>     Maximum identifier length.
116 fmax-stack-var-size=
117 F95 RejectNegative Joined UInteger
118 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
120 fmodule-private
122 Set default accessibility of module entities to PRIVATE
124 fno-backend
125 F95 RejectNegative
126 Don't generate code, just do syntax and semantics checking
128 fpack-derived
130 Try to layout derived types as compact as possible
132 frepack-arrays
134 Copy array sections into a contiguous block on procedure entry
138 Set the default integer kind to double precision
140 qkind=
141 F95 RejectNegative Joined UInteger
142 -qkind=<n>      Set the kind for a real with the 'q' exponent to 'n'
146 Set the default real kind to double precision
148 std=f95
150 Conform to the ISO Fortran 95 standard.
152 std=f2003
154 Conform to the ISO Fortran 2003 standard.
156 std=gnu
158 Conform nothing in particular.
160 ; This comment is to ensure we retain the blank line above.