Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Bogus warning about popcnt with /stand:f08 in VFC 2013

$
0
0

The trivial program below compiled with Intel Visual Fortran Composer 2013 gives a bogus warning when /stand:f08 is used (Fortran 2008 introduced the Popcnt intrinsic). 

Warning 1 warning #7416: Fortran 2008 does not allow this intrinsic procedure. [POPCNT] C:\Dev\POPCNT\PopCntTest.F90 3

Program PopCntTest

  Write (*,*) PopCnt(7)

End Program PopCntTest

Intel Visual Fortran Composer 2015 does not give this bogus warning. Could this be fixed in the next 2013 update too please (we are using 2013 instead of 2015 as the latter causes tiny numerical changes in the output.)

 

Viewing all articles
Browse latest Browse all 5691

Trending Articles