llvm-project
36caa8f9 - [flang] Fix crash on SMP with dummy procedure (#124663)

Commit
1 year ago
[flang] Fix crash on SMP with dummy procedure (#124663) When a separate module procedure is defined with MODULE PROCEDURE, the compiler crashes if there is a dummy procedure in the interface defined with only a result type. This is due to the type already having been defined on the ProcEntityDetails symbol as part of earlier wholesale symbol duplication. Adjust the code to not define the result type of the ProcEntityDetails if it is already present, but to verify that it is the same type instead. Fixes https://github.com/llvm/llvm-project/issues/124487.
Author
Parents
Loading