Commit a5d8ab6
committed
[flang][OpenMP] Don't crash on iterator modifier in declare mapper
Both the declare mapper directive argument, and the iterator modifier
can contain declaration-type-spec, so make sure that the processing
of one ends before processing of the other begins in semantic analysis.1 parent 01f9dff commit a5d8ab6
File tree
2 files changed
+12
-1
lines changed- flang
- lib/Semantics
- test/Lower/OpenMP/Todo
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1801 | 1801 | | |
1802 | 1802 | | |
1803 | 1803 | | |
| 1804 | + | |
1804 | 1805 | | |
1805 | 1806 | | |
1806 | | - | |
1807 | 1807 | | |
1808 | 1808 | | |
1809 | 1809 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments