- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for reporting this. I will investigate and follow up
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page