- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi,
Compiling this source with options /assume:realloc_lhs /assume:dummy_aliases gives "catastrophic error".
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링크가 복사됨
2 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I expect the fix for this to appear in Fortran Composer XE 2011 Update 2.
