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

The unreachable statements: why the errors appear?

Ivan_S_
Beginner
357 Views

I see the errors, but in fact I have the following output:

[fortran]EP(1)-1    2.83115703117778  <- EP(1)
 EP(NI)-1   0.000000000000000E+000 <- EP(2)
 EP(NI)-2   2.83115685915829 <- EP(NI)
 EP(NI)-2   2.83115685928421 <- EP(NI)
 EP(NI)-2   2.83115685928411 <- EP(NI)
 EP(NI)-2   2.83115685928411 <- EP(NI)[/fortran]

Why do I get the errors that lines with comments are the unreachable statements? What’s wrong?

0 Kudos
1 Reply
Steven_L_Intel1
Employee
357 Views

You've enabled the Static Verifier (also called Source Checker) option, and it evidently doesn't understand something.  Unfortunately, this option doesn't do a good job with Fortran code. Sometimes it helps, but there are often complaints that are unjustified.

0 Kudos
Reply