Commit 7f64469
committed
[flang][OpenMP] catch namelist access through equivalence
The standard prohibits privatising namelist variables. We also decided
in #110671 to prohibit reductions of namelist variables.
This commit prevents this rule from being circumvented through the use
of equivalence statements.
Fixes #1228241 parent 63635c1 commit 7f64469
File tree
2 files changed
+52
-3
lines changed- flang
- lib/Semantics
- test/Semantics/OpenMP
2 files changed
+52
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2404 | 2404 | | |
2405 | 2405 | | |
2406 | 2406 | | |
| 2407 | + | |
| 2408 | + | |
| 2409 | + | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
| 2415 | + | |
| 2416 | + | |
| 2417 | + | |
| 2418 | + | |
| 2419 | + | |
| 2420 | + | |
| 2421 | + | |
| 2422 | + | |
| 2423 | + | |
| 2424 | + | |
2407 | 2425 | | |
2408 | 2426 | | |
2409 | 2427 | | |
| |||
2468 | 2486 | | |
2469 | 2487 | | |
2470 | 2488 | | |
2471 | | - | |
2472 | 2489 | | |
2473 | 2490 | | |
2474 | 2491 | | |
2475 | 2492 | | |
2476 | 2493 | | |
2477 | 2494 | | |
2478 | 2495 | | |
2479 | | - | |
| 2496 | + | |
2480 | 2497 | | |
2481 | 2498 | | |
2482 | 2499 | | |
| |||
2838 | 2855 | | |
2839 | 2856 | | |
2840 | 2857 | | |
2841 | | - | |
| 2858 | + | |
2842 | 2859 | | |
2843 | 2860 | | |
2844 | 2861 | | |
| |||
| 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 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
0 commit comments