- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following code is standard conforming, but ifort (up through 12.1 at least) issues the error:
intel-bug-20110405.f90(54): error #6285: There is no matching specific subroutine for this generic subroutine call. [NEW_NAME]call new_name (1)-------^
This is incorrect. The specific subroutinehas been exported from MOD1 and through MOD2 into the program. This was reported against the 11.0 compiler a year ago. Are there any plans to fix this serious defect? Here's the code:
[fortran]module mod1
private
public :: generic_foo
interface generic_foo
module procedure one_arg_foo
end interface
contains
subroutine one_arg_foo (a)
integer:: a
end subroutine
end module
module mod2
use mod1, new_name => generic_foo
private
public :: new_name
interface new_name
module procedure two_arg_foo
end interface
contains
subroutine two_arg_foo (a, b)
integer :: a, b
end subroutine
end module
program main
use mod2
call new_name (1)
end program
[/fortran]
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are no current plans. The premier support issue for this problem will be updated if and when we have developed a fix for this problem.
Regards,
Annalee
Regards,
Annalee

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page