Commit 229dca6
authored
[flang] Handle assumed-type dummy arguments in ExtractDataRef (#169080)
Assumed-type dummy argument symbols s are never packaged in DataRefs
since the only way they can be used in Fortran is by forwarded as actual
arguments to other calls. When an ActualArgument comprising a forwarded
assumed-type dummy argument is presented to ExtractDataRef, it fails,
because ExtractDataRef for ActualArgument only handles actual argument
expressions (including variable references). Add support for actual
arguments that are assumed-type dummy arguments.
Fixes #168978.1 parent 76c5b6a commit 229dca6
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments