- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, The following program causes ifort to choke up with an ICE.The cause of the error is highlighted below.ifort shows a valid error message after which it ICEs. ========== BEGIN test.f90 ==============[fortran]module m_my type t_my character(len=:), allocatable :: x end type t_my interface t_my procedure :: t_my_init !! This line must be "module procedure" end interface t_my contains function t_my_init(x) result(my) character(len=*), intent(in) :: x type(t_my) :: my my%x = "Hello" end function t_my_init end module m_my [/fortran] ============= END test.f90 ============Compiled with: ifort -c test.f90/tmp/ifort3puslA.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. ifort --versionifort (IFORT) 12.0.3 20110309Copyright (C) 1985-2011 Intel Corporation.All rights reserved.-- Satish BD
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
This got fixed in a 13.0 update. Sorry for not updating the thread earlier.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page