- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is erroneous source code (I was shuffling components around), but it ICE's the compilers.
MODULE m
IMPLICIT NONE
TYPE :: t
PROCEDURE(fun_intf), NOPASS, POINTER :: fun
END TYPE t
ABSTRACT INTERFACE
FUNCTION fun_intf(x) RESULT(r)
IMPLICIT NONE
INTEGER, INTENT(IN) :: x
INTEGER :: r
END FUNCTION fun_intf
END INTERFACE
CONTAINS
SUBROUTINE s
TYPE(t) :: a
a = t(0) ! Bad source code!
END SUBROUTINE s
END MODULE m
...
>ifx /c "2023-04-07 ptr-comp.f90"
Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2023.1.0 Build 20230320
Copyright (C) 1985-2023 Intel Corporation. All rights reserved.
#0 0x00007ff63781075a (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x30075a)
#1 0x00007ff63781072a (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x30072a)
#2 0x00007ff6378b5921 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x3a5921)
#3 0x00007ff6378b1c62 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x3a1c62)
#4 0x00007ff6378b1b6f (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x3a1b6f)
#5 0x00007ff6378512ac (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x3412ac)
#6 0x00007ff6377dee81 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x2cee81)
#7 0x00007ff6377d8e5d (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x2c8e5d)
#8 0x00007ff637857d1c (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x347d1c)
#9 0x00007ff63786206f (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x35206f)
#10 0x00007ff63786265c (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x35265c)
#11 0x00007ff637864b66 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x354b66)
#12 0x00007ff63786206f (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x35206f)
#13 0x00007ff63786265c (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x35265c)
#14 0x00007ff63785f960 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x34f960)
#15 0x00007ff63786206f (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x35206f)
#16 0x00007ff63785effd (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x34effd)
#17 0x00007ff63786206f (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x35206f)
#18 0x00007ff6376df90a (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x1cf90a)
#19 0x00007ff6376df34a (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x1cf34a)
#20 0x00007ff6378cc31e (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x3bc31e)
#21 0x00007ff639d36060 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin-llvm\xfortcom.exe+0x2826060)
#22 0x00007ffd6ed57614 (C:\WINDOWS\System32\KERNEL32.DLL+0x17614)
#23 0x00007ffd6fa426a1 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x526a1)
2023-04-07 ptr-comp.f90(18): 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.
a = t(0) ! Bad source code!
----------^
compilation aborted for 2023-04-07 ptr-comp.f90 (code 3)
>ifort /c "2023-04-07 ptr-comp.f90"
Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.9.0 Build 20230302_000000
Copyright (C) 1985-2023 Intel Corporation. All rights reserved.
2023-04-07 ptr-comp.f90(18): 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 2023-04-07 ptr-comp.f90 (code 1)
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for reporting this. I filed a bug, CMPLRLLVM-46644.
Good that it's not a show-stopper for you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page