- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
oneAPI 2021.4 gives better Fortran 2018 support, however the following construct continues to fail with "ifx".
Windows:
> ifx -c abstract.f90
xfortcom: Fatal: There has been an internal compiler error (C0000005).
compilation aborted for abstract.f90 (code 1)
Linux:
/intel/oneapi/compiler/2021.4.0/linux/bin/xfortcom[0xd9d2a9]
abstract.f90: error #5633: **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.
that works with "ifort":
module bug abstract interface real function fun() end function fun end interface contains subroutine canary(f) procedure(fun), pointer, intent(in) :: f real :: a a = f() end subroutine canary end module bug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Barbara is correct. Unfortunately, the fix is not available in the latest release, but it should be included in the next release.
I will update this forum once the fix is available for you. Sorry for any inconvenience caused.
Regards,
Khalik.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please be aware that many F2018 features are not yet implemented in ifx. ICE is not a particularly good way to say that, tho. This article lists the Fortran and OpenMP standards their status with ifx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for contacting Intel Support.
I agree with Barbara that ICE is not a best way to indicate an unsupported feature.
I have contacted Intel Fortran Development team to get this fixed.
Regards,
Khalik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Barbara_P_Intel , @Khalik_K_Intel ,
Technically the code in the original post refers to a Fortran 2003 feature. The Intel link provided by Barbara above re: support for modern Fortran features in IFX doesn't get into details adequately here but the suggestion from the table in that link is IFX supports this. Thus the ICE may simply be due to a compiler bug in IFX rather than missing support, worth a check with the compiler team.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This Fortran 2003 `abstract interface` is still broken in oneAPI 2022.1 release with same symptoms/error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just checked the bug report. It looks like the fix will be in the next release in calendar year 2022.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Barbara is correct. Unfortunately, the fix is not available in the latest release, but it should be included in the next release.
I will update this forum once the fix is available for you. Sorry for any inconvenience caused.
Regards,
Khalik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was mistaken about release numbers. The oneAPI 2022.1 release did fix this issue. Thank you.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page