- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I've attached a small test case that is exhibiting some strange behavior. The outcome of the program should be '0', but with the compiler settings in the project file, '1' is returned. This seems like it may be a compiler bug.
I've tried to narrow down the test case as much as possible. Almost any significant change to the code will cause a correct result '0' to be computed. The code should be compiled under x64 and not Win32 since Win32 does not exhibit the problem. Certain project options will also result in a correct answer. For example, setting Configuration->Fortran->Run-Time->Check For Null Pointer and Allocatable Array References to 'Yes' will result in a correct result.
My setup is Windows Vista 64, MS VS2008, and Intel Fortran 11.0.74.
Thanks,
John
I've attached a small test case that is exhibiting some strange behavior. The outcome of the program should be '0', but with the compiler settings in the project file, '1' is returned. This seems like it may be a compiler bug.
I've tried to narrow down the test case as much as possible. Almost any significant change to the code will cause a correct result '0' to be computed. The code should be compiled under x64 and not Win32 since Win32 does not exhibit the problem. Certain project options will also result in a correct answer. For example, setting Configuration->Fortran->Run-Time->Check For Null Pointer and Allocatable Array References to 'Yes' will result in a correct result.
My setup is Windows Vista 64, MS VS2008, and Intel Fortran 11.0.74.
Thanks,
John
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
John,
With our 12.0 Update 1 compiler this is no longer an issue. Your original test case compiles and runs on a 64 bit system with a "0" result.
With our 12.0 Update 1 compiler this is no longer an issue. Your original test case compiles and runs on a 64 bit system with a "0" result.
------
Wendy

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