[flang] Create symbols for args of separate-module-subprogram
A separate-module-subprogram is declared as `module procedure ...` and gets its characteristics from the declaration of that name as a separate module procedure. When we encounter one, we need to create symbols in the new subprogram scope for the dummy arguments and function return (if any). The failure to create these symbols led to the bug in issue flang-compiler/f18#1054: when a dummy argument was referenced, the compiler interpreted it as an implicit declaration because there was no symbol for the argument. Fixes flang-compiler/f18#1054. Original-commit: flang-compiler/f18@4d3c4bac843dcc6351fbe7538c6ce23bb9c1a215 Reviewed-on: https://github.com/flang-compiler/f18/pull/1080 Tree-same-pre-rewrite: false
Loading
Please sign in to comment