Commit 5bd87e6
authored
[flang] Silence spurious errors about SAVE (#78765)
When an attribute specification statement follows a declaration that
applies the SAVE attribute to a symbol, name resolution can produce a
spurious error message about redundant SAVEs.
Fixes llvm-test-suite/Fortran/gfortran/regression/proc_ptr_9.f90.1 parent 19b65a9 commit 5bd87e6
File tree
2 files changed
+5
-2
lines changed- flang
- lib/Semantics
- test/Semantics
2 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4817 | 4817 | | |
4818 | 4818 | | |
4819 | 4819 | | |
| 4820 | + | |
4820 | 4821 | | |
4821 | | - | |
4822 | 4822 | | |
4823 | 4823 | | |
4824 | 4824 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | | - | |
| |||
0 commit comments