View previous topic :: View next topic |
Author |
Message |
simon
Joined: 05 Jul 2006 Posts: 268
|
Posted: Tue May 05, 2015 10:20 am Post subject: INTERFACE internal compiler error |
|
|
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.
Code: |
MODULE m
CONTAINS
FUNCTION f(s)
INTERFACE
SUBROUTINE s (s)
INTEGER :: i
END SUBROUTINE s
END INTERFACE
END FUNCTION f
END MODULE m |
|
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Tue May 05, 2015 1:04 pm Post subject: |
|
|
Thanks for the feedback. I have logged this for investigation. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Thu May 26, 2016 2:44 pm Post subject: |
|
|
The compiler will now report "S is not correctly defined". |
|
Back to top |
|
|
|