Skip to content

Commit 1dc3e11

Browse files
committed
update text
1 parent 6c33a53 commit 1dc3e11

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

flang/docs/Extensions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,9 @@ end
161161
* `$` and `@` as legal characters in names
162162
* Initialization in type declaration statements using `/values/`
163163
* Saved variables without explicit or default initializers are zero initialized,
164-
except for implicitly saved scalar variables from the main program that are
165-
kept on the stack by flang and are not zero initialized. It is not advised to
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
166167
rely on this extension in new code.
167168
* In a saved entity of a type with a default initializer, components without default
168169
values are zero initialized.

0 commit comments

Comments
 (0)