- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A customer reported a bug with the IFX release 2025.1.1 under Windows. I checked this and can confirm that the optimizer (option /O2 - "Maximize Speed") fails with IFX release 2025.1.1, and with the previous release too.
After building the following simple FORTRAN 77 program (PTEST.FOR, attached)
IMPLICIT REAL*8(A-H,O-Z)
DIMENSION CNST(178),CNST1(178)
OPEN(UNIT=10,FILE='P1.TXT')
OPEN(UNIT=30,FILE='PTEST.TXT')
NP=178
DO 100 I=1,NP
READ(10,*) X,X,CNST(I),X,X
CNST1(I)=CNST(I)
WRITE(30,637) I,CNST(I),CNST1(I)
100 CONTINUE
637 FORMAT(I4,4F8.3)
STOP
END
and running the .exe which reads in a file P1.txt (attached), the output written to PTEST.TXT is faulty. The first 5 lines written by the WRITE(30,637)... command are:
1 10.811 0.000
2 10.799 0.000
3 11.302 0.000
4 11.197 0.000
5 11.131 0.000
instead of
1 10.811 10.811
2 10.799 10.799
3 11.302 11.302
4 11.197 11.197
5 11.131 11.131
The correct result is obtained when the optimizer is turned off (/Od)
I have tested in VS2022.
Jörg Kuthe
I am working for Intel Resellers QT software GmbH, Germany, and Polyhedron Software & Services Ltd, United Kingdom.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@MarcGrodent The fix for this particular issue will be in the future 2025.3 ifx release.
@MarcGrodent wrote:
I think this is exactly the same issue as reported here:
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes is a BIG BUG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This run OK
IMPLICIT REAL*8(A-H,O-Z)
DIMENSION CNST(178),CNST1(178)
OPEN(UNIT=10,FILE='P1.TXT')
OPEN(UNIT=30,FILE='PTEST.TXT')
NP=178
DO 100 I=1,NP
READ(10,*) X,X,CNST(I),X,X
CNST1(I)=CNST(I)
XX=CNST1(I)
WRITE(30,637) I,CNST(I),CNST1(I),XX
100 CONTINUE
637 FORMAT(I4,4F8.3)
STOP
END
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We brought the engineer's attention to this issue. Thanks for reporting this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think this is exactly the same issue as reported here:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@MarcGrodent The fix for this particular issue will be in the future 2025.3 ifx release.
@MarcGrodent wrote:
I think this is exactly the same issue as reported here:

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