| drill deep silent 2005-12-30, 1:35 am |
| 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 1:
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 the above code with the following one:
code 2:
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. |