- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have an IFX "internal compiler error" as per below attached code
ifx -c ifx_test.f90
Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2024.0.0 Build 20231017
Copyright (C) 1985-2023 Intel Corporation. All rights reserved.
xfortcom: Fatal: There has been an internal compiler error (C0000005).
compilation aborted for ifx_test.f90 (code 1)
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
module sim
type Sim_Var
integer :: lu=20
end type Sim_Var
type(Sim_Var) :: sim_scenario
contains
subroutine Open_Sim_Scenario()
integer nval,i,dummy(10),lu
nval = 1
dummy = 1
lu = 20
if(nval.ne.0) & ! remove this test and it is OK
write(sim_scenario%lu,'(*(i4,1x))')(dummy(i),i=1,10) ! remove the sim_scenario% and it is OK
end subroutine Open_Sim_Scenario
end module sim
It works with * rather than the non-standard <nval> I guess the IFX implementation is flawed , but I would recommend not using the extension. Compile with -stand and you will get warnings BTW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Andrew,
Thanks - well spotted - been a while myself since I've used that construct. Just checking older code will compile under the upcoming deprecation of IFORT.
Still a bug though. IFX devs need to understand why etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been able to reproduce the ICE. Thank you for reporting this to us. Intel Compiler Engineering will investigate and/or fix it in future ifx releases.

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