Community
cancel
Showing results for 
Search instead for 
Did you mean: 
vzecca
Beginner
111 Views

ifort ICE

Compiling the following:

c ifort **Internal compiler error: segmentation violation signal raised**
call sub(f())
contains
subroutine sub(x)
integer, pointer :: x(..)
end subroutine sub
function f() result(res)
integer, pointer :: res
res=>null()
end function f
end

uname -a
Linux nero32 5.6.19-300.fc32.x86_64 #1 SMP Wed Jun 17 16:10:48 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[vitti f95]$ifort -S -V ierr395.f
Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.2.275 Build 20200623
Copyright (C) 1985-2020 Intel Corporation. All rights reserved.

ifort: NOTE: The evaluation period for this product ends on 30-sep-2020 UTC.
Intel(R) Fortran 19.1-1648
ierr395.f: 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.
compilation aborted for ierr395.f (code 1)

I get:

 

0 Kudos
0 Replies
Reply