The compiler emits a bogus 'No explicit type declared for...' error
when a dummy procedure turns out to be a subroutine (or at least not
a function or object) under control of IMPLICIT NONE.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Things build OK, but I get errors in check-flang:
FAIL: Flang :: Semantics/implicit13.f90 (1508 of 2183) ******************** TEST 'Flang :: Semantics/implicit13.f90' FAILED ******************** Script: -- : 'RUN: at line 1'; "/usr/bin/python3.6" /local/home/psteinfeld/main/814/flang/test/Semantics/test_errors.py /local/home/psteinfeld/main/814/flang/test/Semantics/implicit13.f90 /local/home/psteinfeld/main/814/build/bin/flang-new -fc1 -- Exit Code: 1 Command Output (stdout): -- --- +++ @@ -1,2 +1,2 @@ actual at 2: No explicit type declared for 'func' actual at 2: No explicit type declared for 'obj' expect at 6: No explicit type declared for 'func' expect at 8: No explicit type declared for 'obj'