Silverfrost Forums

Welcome to our forums

INTERFACE internal compiler error

5 May 2015 9:20 #16296

The following code generates an internal compiler error. There is a coding error in line 5, where the argument to subroutine s is indicated as s rather than as i.

MODULE m
CONTAINS
 FUNCTION f(s)
  INTERFACE
   SUBROUTINE s (s)
    INTEGER :: i
   END SUBROUTINE s
  END INTERFACE
 END FUNCTION f
END MODULE m
5 May 2015 12:04 #16297

Thanks for the feedback. I have logged this for investigation.

26 May 2016 1:44 #17519

The compiler will now report 'S is not correctly defined'.

Please login to reply.