Commit 7e0e7f3
committed
[Flang][Semantics] Add source range to the threadprivate,
and Atomic constructs
This patch fixes #82943, which used to crash when the
threadprivate directive appears as the first directive
without the program statement.
Fix: Adding a source range from the current statement to
the threadprivate and atomic will take care of the crash.
See: https://reviews.llvm.org/D153634 for more details1 parent 09df4ed commit 7e0e7f3
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1530 | 1530 | | |
1531 | 1531 | | |
1532 | 1532 | | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
1533 | 1550 | | |
1534 | 1551 | | |
1535 | 1552 | | |
| |||
0 commit comments