Commit 888ceac
authored
This is intended to diagnose errors such as incorrect uses of
assumed-size arrays, for example.
Fixes #151990
Reinstate 6308531 (PR 155424) with a change that treats whole
assumed- size-arrays as variables (as defined by the Fortran standard).
This treats them, by default, as valid variable list items.
1 parent 4b562f9 commit 888ceac
File tree
6 files changed
+55
-4
lines changed- flang
- lib/Semantics
- test
- Lower/OpenMP/Todo
- Semantics/OpenMP
6 files changed
+55
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
271 | 306 | | |
272 | 307 | | |
273 | 308 | | |
| |||
2697 | 2732 | | |
2698 | 2733 | | |
2699 | 2734 | | |
| 2735 | + | |
2700 | 2736 | | |
2701 | | - | |
| 2737 | + | |
2702 | 2738 | | |
2703 | 2739 | | |
2704 | 2740 | | |
| |||
2712 | 2748 | | |
2713 | 2749 | | |
2714 | 2750 | | |
2715 | | - | |
| 2751 | + | |
2716 | 2752 | | |
2717 | 2753 | | |
2718 | 2754 | | |
| |||
2722 | 2758 | | |
2723 | 2759 | | |
2724 | 2760 | | |
| 2761 | + | |
2725 | 2762 | | |
2726 | 2763 | | |
2727 | 2764 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments