Commit 3bc8aa7
authored
[flang] Catch whole assumed-size array as RHS (llvm#132819)
The right-hand side expression of an intrinsic assignment statement may
not be the name of an assumed-size array dummy argument.1 parent 6df27dd commit 3bc8aa7
File tree
3 files changed
+21
-10
lines changed- flang
- include/flang/Semantics
- lib/Semantics
- test/Semantics
3 files changed
+21
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
260 | 261 | | |
261 | 262 | | |
262 | 263 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1077 | 1077 | | |
1078 | 1078 | | |
1079 | 1079 | | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
1083 | | - | |
1084 | | - | |
1085 | | - | |
1086 | | - | |
1087 | | - | |
1088 | | - | |
| 1080 | + | |
1089 | 1081 | | |
1090 | 1082 | | |
1091 | 1083 | | |
1092 | 1084 | | |
1093 | 1085 | | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
1094 | 1098 | | |
1095 | 1099 | | |
1096 | 1100 | | |
| |||
3362 | 3366 | | |
3363 | 3367 | | |
3364 | 3368 | | |
3365 | | - | |
| 3369 | + | |
| 3370 | + | |
3366 | 3371 | | |
3367 | 3372 | | |
3368 | 3373 | | |
| |||
3392 | 3397 | | |
3393 | 3398 | | |
3394 | 3399 | | |
| 3400 | + | |
| 3401 | + | |
3395 | 3402 | | |
3396 | 3403 | | |
3397 | 3404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| 109 | + | |
| 110 | + | |
108 | 111 | | |
109 | 112 | | |
110 | 113 | | |
| |||
0 commit comments