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

Internal compiler error

Jacob_Williams
새로운 기여자 III
715 조회수
Just wanted to report an internal compiler error. It happens when compiling the following code (which has an invalid sequence of if statements). The error is "catastrophic error: Internal Compiler Error: Unexpected statement", but it doesn't indicate the line number. I'm using Visual Fortran Compiler XE 12.1.5.344 with VS 2010 Shell. Maybe not a big deal, but I had something like this in a large file, and it took me a while to track down the problem, since it wasn't telling me the line number.

[fortran]program test implicit none logical :: a=.true. logical :: b=.false. if(a) if(b) write(*,*) 'hello' end program test[/fortran]
0 포인트
2 응답
Steven_L_Intel1
715 조회수
I know I've seen this before but I am having trouble locating the error report. Regardless, it is already fixed for a release later this year.
0 포인트
Udit_P_Intel
직원
715 조회수
Yes, this was recently fixed. I believe the related thread is here .

Best!
-Udit
0 포인트
응답