Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

ICE with assume_aligned

styc
Beginner
556 Views

$ cat test.f90
module test
contains
subroutine f(x)
double precision x(*)
!dec$ assume_aligned x:16
end subroutine
end module
$ ifort -c test.f90
test.f90(1): 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.
module test
^
compilation aborted for test.f90 (code 3)
$ ifort -V
Intel Fortran Intel 64 Compiler Professional for applications running on Intel 64, Version 11.1 Build 20090827 Package ID: l_cprof_p_11.1.056
Copyright (C) 1985-2009 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY

Hasthis beenfixed in newer releases?

0 Kudos
2 Replies
Steven_L_Intel1
Employee
556 Views
Thanks - I have escalated this as issue DPD200148801. I note that the 32-bit compiler doesn't get the ICE, but instead incorrectly complains that X is not an array... I have asked the developers to fix both issues.

A couple of years ago we fixed a similar problem, but that involved regular, "external" procedures.
0 Kudos
Steven_L_Intel1
Employee
556 Views
This was fixed in version 12.
0 Kudos
Reply