- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I have detected, what I believe, is a bug in ifort (13.0.0 20120731). The following code produces a segfault for no reason known to me.
module mod_b
type :: b
contains
final :: finalize
end type b
contains
subroutine finalize(self)
type(b) :: self
end subroutine finalize
end module mod_b
module mod_t
use mod_b
type :: tt
contains
procedure :: get
end type tt
contains
subroutine get( self, box)
class(tt), target :: self
type(b), pointer, intent(out), optional :: box
if( present(box) ) nullify(box)
end subroutine get
end module mod_t
program d1
use mod_t
type(tt) :: t
call t%get()
end program d1
When any of the options "pointer, intent(out), optional" are altered or removed the segfault disappears.
Regards,
Paweł Biernat.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Hello Pawel,
This is issue has been fixed in Intel® Fortran Composer XE for Linux* 2013 Update 3 which is now available at the Intel® Registration Center.
Annalee

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