- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
/tmp/ifortVR4J0A.i90: catastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
compilation aborted for Interfaces_mod.F90 (code 1)
???? The odd part is the message went away if I just take out the type bound procedure definition junksub ni junk1_mod.F90.
Now if I just include the interface block inside another routine, that seems to be OK as well, but that would be a pain.
I have tried this on other compiler like xlf2003 w/o any problem.
This occurs even with either the latest 11.1 compiler or the 12.0 beta compiler.=== file junk1_mod.F90
module junk1_mod
type :: junktype
integer :: i
contains
procedure junksub
end type junktype
contains
subroutine junksub(this,i)
class(junktype) :: this
integer :: i
end subroutine junksub
end module junk1_mod
=== file Interfaces_mod.F90
module Interfaces_mod
INTERFACE
subroutine test( junk )
use junk1_mod
type(junktype) :: junkin
end subroutine test
END INTERFACE
end module Interfaces_mod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[fortran]module Interfaces_mod use junk1_mod INTERFACE subroutine test( junk ) import type(junktype) :: junk end subroutine test END INTERFACE end module Interfaces_mod [/fortran]
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[fortran]module Interfaces_mod use junk1_mod INTERFACE subroutine test( junk ) import type(junktype) :: junk end subroutine test END INTERFACE end module Interfaces_mod [/fortran]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page