- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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
- Balises:
- Intel® Fortran Compiler
Lien copié
1 Répondre
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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

Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable