<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: IFX 2025.1.1, optimizer bug in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-2025-1-1-optimizer-bug/m-p/1695526#M176016</link>
    <description>&lt;P&gt;Yes is a BIG BUG&lt;/P&gt;</description>
    <pubDate>Sat, 07 Jun 2025 07:44:19 GMT</pubDate>
    <dc:creator>garraleta_fortran</dc:creator>
    <dc:date>2025-06-07T07:44:19Z</dc:date>
    <item>
      <title>IFX 2025.1.1, optimizer bug</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-2025-1-1-optimizer-bug/m-p/1695463#M176015</link>
      <description>&lt;P&gt;A customer reported a bug with the IFX release&amp;nbsp; 2025.1.1 under Windows. I checked this and can confirm that the optimizer (option /O2 - "Maximize Speed") fails with IFX release&amp;nbsp; 2025.1.1, and with the previous release too.&lt;/P&gt;&lt;P&gt;After building the following simple FORTRAN 77 program (PTEST.FOR, attached)&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;IMPLICIT REAL*8(A-H,O-Z)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;DIMENSION CNST(178),CNST1(178)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;OPEN(UNIT=10,FILE='P1.TXT')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;OPEN(UNIT=30,FILE='PTEST.TXT')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;NP=178&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;DO 100 I=1,NP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; READ(10,*) X,X,CNST(I),X,X&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; CNST1(I)=CNST(I)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; WRITE(30,637) I,CNST(I),CNST1(I)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;100 CONTINUE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;637 FORMAT(I4,4F8.3)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;STOP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;END&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;1 10.811 0.000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2 10.799 0.000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3 11.302 0.000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;4 11.197 0.000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;5 11.131 0.000&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;1 10.811 10.811&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2 10.799 10.799&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3 11.302 11.302&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;4 11.197 11.197&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;5 11.131 11.131&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The correct result is obtained when the optimizer is turned off (/Od)&lt;/P&gt;&lt;P&gt;I have tested in VS2022.&lt;/P&gt;&lt;P&gt;Jörg Kuthe&lt;/P&gt;&lt;P&gt;I am working for Intel Resellers QT software GmbH, Germany, and Polyhedron Software &amp;amp; Services Ltd, United Kingdom.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 20:31:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-2025-1-1-optimizer-bug/m-p/1695463#M176015</guid>
      <dc:creator>J_Kuthe</dc:creator>
      <dc:date>2025-06-06T20:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: IFX 2025.1.1, optimizer bug</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-2025-1-1-optimizer-bug/m-p/1695526#M176016</link>
      <description>&lt;P&gt;Yes is a BIG BUG&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jun 2025 07:44:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-2025-1-1-optimizer-bug/m-p/1695526#M176016</guid>
      <dc:creator>garraleta_fortran</dc:creator>
      <dc:date>2025-06-07T07:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: IFX 2025.1.1, optimizer bug</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-2025-1-1-optimizer-bug/m-p/1695529#M176017</link>
      <description>&lt;P&gt;&lt;U&gt;This run OK&lt;/U&gt;&lt;/P&gt;&lt;P&gt;IMPLICIT REAL*8(A-H,O-Z)&lt;BR /&gt;DIMENSION CNST(178),CNST1(178)&lt;BR /&gt;OPEN(UNIT=10,FILE='P1.TXT')&lt;BR /&gt;OPEN(UNIT=30,FILE='PTEST.TXT')&lt;BR /&gt;NP=178&lt;BR /&gt;DO 100 I=1,NP&lt;BR /&gt;&amp;nbsp; &amp;nbsp; READ(10,*) X,X,CNST(I),X,X&lt;BR /&gt;&amp;nbsp; &amp;nbsp;CNST1(I)=CNST(I)&lt;BR /&gt;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&lt;FONT color="#FF6600"&gt;XX=CNST1(I)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;WRITE(30,637) I,CNST(I),CNST1(I),&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;XX&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;100 CONTINUE&lt;BR /&gt;637 FORMAT(I4,4F8.3)&lt;BR /&gt;STOP&lt;BR /&gt;END&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jun 2025 08:18:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-2025-1-1-optimizer-bug/m-p/1695529#M176017</guid>
      <dc:creator>garraleta_fortran</dc:creator>
      <dc:date>2025-06-07T08:18:27Z</dc:date>
    </item>
    <item>
      <title>Re:IFX 2025.1.1, optimizer bug</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-2025-1-1-optimizer-bug/m-p/1695839#M176021</link>
      <description>&lt;P&gt;We brought the engineer's attention to this issue. Thanks for reporting this.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Jun 2025 16:54:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-2025-1-1-optimizer-bug/m-p/1695839#M176021</guid>
      <dc:creator>Shiquan_Su</dc:creator>
      <dc:date>2025-06-09T16:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: IFX 2025.1.1, optimizer bug</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-2025-1-1-optimizer-bug/m-p/1696394#M176053</link>
      <description>&lt;P&gt;I think this is exactly the same issue as reported here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.intel.com/t5/Intel-Fortran-Compiler/Incorrect-results-using-O2-or-O3-in-ifx-Minimal-example-attached/m-p/1684806#M175558" target="_self"&gt;https://community.intel.com/t5/Intel-Fortran-Compiler/Incorrect-results-using-O2-or-O3-in-ifx-Minimal-example-attached/m-p/1684806#M175558&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 08:43:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-2025-1-1-optimizer-bug/m-p/1696394#M176053</guid>
      <dc:creator>MarcGrodent</dc:creator>
      <dc:date>2025-06-11T08:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: IFX 2025.1.1, optimizer bug</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-2025-1-1-optimizer-bug/m-p/1696501#M176057</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/412555"&gt;@MarcGrodent&lt;/a&gt;&amp;nbsp;The fix for this particular issue will be in the future 2025.3 ifx release.&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/412555"&gt;@MarcGrodent&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I think this is exactly the same issue as reported here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.intel.com/t5/Intel-Fortran-Compiler/Incorrect-results-using-O2-or-O3-in-ifx-Minimal-example-attached/m-p/1684806#M175558" target="_self"&gt;https://community.intel.com/t5/Intel-Fortran-Compiler/Incorrect-results-using-O2-or-O3-in-ifx-Minimal-example-attached/m-p/1684806#M175558&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 19:57:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-2025-1-1-optimizer-bug/m-p/1696501#M176057</guid>
      <dc:creator>Devorah_H_Intel</dc:creator>
      <dc:date>2025-06-11T19:57:13Z</dc:date>
    </item>
  </channel>
</rss>

