Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
公告
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29280 讨论

ICE with ATAN(y,x) and different argument kinds

Harald1
新分销商 II
748 次查看

Hello,

the following simple program ICEs:

program main
  print *, atan (y=1.0,  x=1.0) ! OK
  print *, atan (y=1.d0, x=1.0)   ! ICE
end

I get:

 % ifx ifort-atan.f90 -what
 Intel(R) Fortran 24.0-1472.3
 #0 0x00000000023f5bc7 (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x23f5bc7)
 #1 0x00000000023e1986 (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x23e1986)
 #2 0x000000000230bdff (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x230bdff)
 #3 0x000000000240ad78 (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x240ad78)
 #4 0x00000000023cd5e8 (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x23cd5e8)
 #5 0x0000000002425076 (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x2425076)
 #6 0x0000000002420e71 (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x2420e71)
 #7 0x00000000024449b5 (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x24449b5)
 #8 0x0000000002444f87 (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x2444f87)
 #9 0x0000000002447a3e (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x2447a3e)
#10 0x00000000024449b5 (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x24449b5)
#11 0x0000000002441e2a (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x2441e2a)
#12 0x00000000024449b5 (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x24449b5)
#13 0x00000000022d9976 (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x22d9976)
#14 0x00000000022d931d (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x22d931d)
#15 0x00000000024b171c (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x24b171c)
#16 0x00007f5808c9824d __libc_start_main (/lib64/libc.so.6+0x3524d)
#17 0x00000000021134e9 (/opt/intel/oneapi/compiler/2024.1/bin/compiler/xfortcom+0x21134e9)

ifort-atan.f90(3): error #5623: **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.
  print *, atan (y=1.d0, x=1.0)   ! ICE
-----------^
compilation aborted for ifort-atan.f90 (code 3)

 While different argument kinds are not conforming, an ICE is not nice either...

 

2 回复数
Barbara_P_Intel
698 次查看

@Harald1, thanks for reporting this. That's not nice for users, but does point to a problem. I filed a bug report, CMPLRLLVM-57393. We'll let you know it's progress to a fix.



0 项奖励
Shiquan_Su
主持人
349 次查看

The fix is in the upcoming oneapi release.

0 项奖励
回复