Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

14.0.2 compiler bug

Neil_Carlson
Beginner
583 Views

I've attached a short example (mostly declarations) that exposes a bug in 14.0.2.  The compiler is incorrectly reporting an error for a reference to the SIZE intrinsic.  The compiler appears to be confusing SIZE for some other function than the intrinsic function, though within the scope of the reference there is absolutely nothing else it could possibly be confused for.  This bug is awfully similar to several others I've reported over the last few years, though I can't say it's exactly the same.  The compiler seems to have an on-going problem with allowing the knowledge of entities leak outside of their proper scope.

0 Kudos
2 Replies
pbkenned1
Employee
583 Views

Thank you for reporting this.  I will investigate and follow up

Patrick

0 Kudos
pbkenned1
Employee
583 Views

I can reproduce the bogus error with ifort-14.0.  However, it's fixed in 15.0 (beta):

 

$ ifort -V
Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.0.040 Beta Build 20140428
Copyright (C) 1985-2014 Intel Corporation.  All rights reserved.


$ ifort -c intel-bug-20140609.f90
$

 

Patrick

0 Kudos
Reply