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

Has someone met such problem when Compiling ------" **Internal compiler error: internal abort** "

deep_silent
Beginner
454 Views

I am using the newest version of intel visual fortran for programming recently.And I met a strang problem when compiling the following code.Code:

program Console4
implicit none

    integer, parameter::N_a = 10
    real::Array_a(N_a)
    
    Array_a(1:N_a-1) = 0

end program Console4


The error message is "**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. " I have tried replacing theabove code with the following one:Code:

program Console4
implicit none

    integer, parameter::N_a=10
    integer:: temp_N
    real::Array_a(N_a)
    
    temp_N = N_a -1
    Array_a(1:temp_N) = 0

end program Console4


and then the compiling is ok. But the first code can be successfully compilied with other versions of intel fortran and Compaq visual fortran. Could anyone answer me, I'd be very thankful.

0 Kudos
1 Reply
Steven_L_Intel1
Employee
454 Views
Exactly which version of Intel Visual Fortran are you using and which compiler switches are used to compile? I have not been able to reproduce this error with your code using 9.0.028.

Anytime you get this error, you have found a compiler bug, and you should send a test case and as much information as you can about reproducing the problem to Intel Premier Support.
0 Kudos
Reply