File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 160
160
* ` <> ` as synonym for ` .NE. ` and ` /= `
161
161
* ` $ ` and ` @ ` as legal characters in names
162
162
* Initialization in type declaration statements using ` /values/ `
163
- * Saved variables without explicit or default initializers are zero initialized.
163
+ * Saved variables without explicit or default initializers are zero initialized,
164
+ except for scalar variables from the main program that are not explicitly
165
+ initialized or marked with an explicit SAVE attribute (these variables may be
166
+ placed on the stack by flang and not zero initialized). It is not advised to
167
+ rely on this extension in new code.
164
168
* In a saved entity of a type with a default initializer, components without default
165
169
values are zero initialized.
166
170
* Kind specification with ` * ` , e.g. ` REAL*4 `
You can’t perform that action at this time.
0 commit comments