Internal compiler error

Internal compiler error

Ritratto di dcs16

Test program is below. Upon compiling:

erpsim1:~/dcs16/linux_lib/test> ifort test.f90
test.f90(27): catastrophic error: **Internal compiler error: internal abort** 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 test.f90 (code 1)

erpsim1:~/dcs16/linux_lib/test> ifort --version
ifort (IFORT) 14.0.0 20130728

erpsim1:~/dcs16/linux_lib/test> uname -a
Linux 2.6.32-358.14.1.el6.x86_64 #1 SMP Tue Jul 16 14:24:33 CDT 2013 x86_64 x86_64 x86_64 GNU/Linux

Test also fails with V13.


module bmad_struct2

type target_point_struct
real :: r(3) = 0 ! (x, y, z)
end type

type photon_target_struct
logical :: enabled = .false.
type (target_point_struct) :: corner(4) = target_point_struct()
type (target_point_struct) :: center = target_point_struct()
end type

type photon_element_struct
type (photon_target_struct) :: target = photon_target_struct()
end type

end module


module bmad_cpp_test_mod

use bmad_struct2


subroutine test2_f_photon_target ()
implicit none
type(photon_target_struct) :: f_photon_target
end subroutine test2_f_photon_target

end module

3 post / 0 new
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione
Ritratto di Kevin Davis (Intel)

And also still failing in our Composer XE 2013 SP1 Update 1. Thank you for the convenient reproducer. I will report this to Development and post updates regarding a fix or work around as I learn it.

(Internal tracking id: DPD200249412)

Ritratto di Kevin Davis (Intel)

This issue has been fixed for our major release later this year. Development is investigating fixing in the current 14.0 release; however, that is probably not likely due to the complexity of the fix. The internal error occurs related to the default initialization. A work around would be to create an initialization routine to explicitly set the fields to zero rather than depend on default initialization.

Accedere per lasciare un commento.