Commit 3550b66
committed
[flang] Handle DATA-style default component /inits/ in time
DEC-style default component initializers that use DATA statement
syntax aren't processed until DATA statement values are converted
into init() expressions in the symbol table. Part of that conversion
process involves combining storage-associated (EQUIVALENCE) symbols
with compiler-generated symbols with initialization when the
associated symbols have initialization, and part of that process
involves the application of default component initializers; so
we need to make sure that they've already been processed.
(Fixes Fujitsu Fortran test 0633_0004.f.)1 parent d90a313 commit 3550b66
File tree
2 files changed
+26
-1
lines changed- flang
- lib/Semantics
- test/Semantics
2 files changed
+26
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
946 | 953 | | |
947 | 954 | | |
948 | 955 | | |
949 | | - | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
950 | 959 | | |
951 | 960 | | |
952 | 961 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments