Fortran 2008 does not allow this statement or directive: error stop

Fortran 2008 does not allow this statement or directive: error stop

For some reason ifort complains about error stop not being part of the 2008 standard.

[raul@desk ~]$ cat main.f90 
  error stop
end program
[raul@desk ~]$ ifort main.f90 # no problems here
[raul@desk ~]$ ifort -std08 main.f90 
main.f90(1): warning #6477: Fortran 2008 does not allow this statement or directive.
  error stop
--^

A small bug or have I misunderstood something?

Thanks

publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

A compiler bug. Already escalated as issue DPD200235770. There are some other F08 features that are also improperly flagged, such as LOCK and UNLOCK and some new intrinscs.

Steve - Intel Developer Support

This has been fixed for a future (2014) release of the compiler. It probably won't be included in an update.

Steve - Intel Developer Support

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya