Commit 92e91b3
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 aedf9d9 commit 92e91b3
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1505 | 1505 | | |
1506 | 1506 | | |
1507 | 1507 | | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
1508 | 1525 | | |
1509 | 1526 | | |
1510 | 1527 | | |
| |||
0 commit comments