A type-bound procedure that's bound to a name that isn't a procedure is caught as an error, but can also lead to a crash in compatibility checking later. Make that code more robust to failure. Fixes https://github.com/llvm/llvm-project/issues/92678.
A type-bound procedure that's bound to a name that isn't a procedure is caught as an error, but can also lead to a crash in compatibility checking later. Make that code more robust to failure. Fixes https://github.com/llvm/llvm-project/issues/92678.