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

catastrophic error: **Internal compiler error: internal abort**

hs-napa
초급자
583 조회수
Hi,

Compiling this source with options /assume:realloc_lhs /assume:dummy_aliases gives "catastrophic error".

0_12032

: 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 test_realloc_lhs.f90 (code 3)


[bash]SUBROUTINE TEST(A,N)
   IMPLICIT NONE
   INTEGER, INTENT(IN) :: N, A(2,N,N)
   INTEGER, ALLOCATABLE :: B(:,:)

   ALLOCATE( B(2,N) )

   B = A(:,1,:)

   WRITE(*,*) B(:,:)
END SUBROUTINE

PROGRAM TEST_PROGRAM
   IMPLICIT NONE
   CALL TEST( [1, 2, 3, 4, 5, 6, 7, 8], 2 )
END PROGRAM
[/bash]

I'm using fortran compiler version:

Intel Visual Fortran Compiler Professional for applications running on IA-32, Version 11.1 Build 20091130 Package ID: w_cprof_p_11.1.054
0 포인트
2 응답
Steven_L_Intel1
583 조회수
Thanks for the simple test case. I can reproduce the problem and have escalated it to development as issue DPD200161455. I will update this thread when I get news about it.
0 포인트
Steven_L_Intel1
583 조회수
I expect the fix for this to appear in Fortran Composer XE 2011 Update 2.
0 포인트
응답