<?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:ifort frontend bug in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-frontend-bug/m-p/1395794#M161860</link>
    <description>&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The fix will be included in the next  OneAPI release, which is typically within 3 months. Thank you.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 27 Jun 2022 21:24:06 GMT</pubDate>
    <dc:creator>Shiquan_Su</dc:creator>
    <dc:date>2022-06-27T21:24:06Z</dc:date>
    <item>
      <title>ifort frontend bug</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-frontend-bug/m-p/1386008#M161428</link>
      <description>&lt;P&gt;All,&lt;/P&gt;
&lt;P&gt;The ifort (and presumably ifx) parser stumbles upon the identifier CLASSIFY in the following example:&lt;/P&gt;
&lt;P&gt;module ifort_bug&lt;BR /&gt;type mytype&lt;BR /&gt;&amp;nbsp;&amp;nbsp; integer:: value=1&lt;BR /&gt;contains&lt;BR /&gt;&amp;nbsp;&amp;nbsp; procedure classify&lt;BR /&gt;end type mytype&lt;BR /&gt;contains&lt;BR /&gt;!-------------&lt;BR /&gt;subroutine classify(t,iout)&lt;BR /&gt;class(mytype),intent(in):: t&lt;BR /&gt;integer,intent(out):: iout&lt;BR /&gt;iout=t%value&lt;BR /&gt;return&lt;BR /&gt;end subroutine classify&lt;BR /&gt;!-------------&lt;BR /&gt;end module ifort_bug&lt;/P&gt;
&lt;P&gt;Running version 2021.6.0&amp;nbsp; as ifort -c bug.f:&lt;/P&gt;
&lt;P&gt;bug.f(5): error #5082: Syntax error, found 'IF' when expecting one of: , &amp;lt;END-OF-STATEMENT&amp;gt; ; =&amp;gt;&lt;BR /&gt;procedure classify&lt;BR /&gt;-----------------^&lt;BR /&gt;bug.f(5): error #8169: The specified interface is not declared. [CLASS]&lt;BR /&gt;procedure classify&lt;BR /&gt;------------^&lt;BR /&gt;bug.f(5): error #8169: The specified interface is not declared. [Y]&lt;BR /&gt;procedure classify&lt;BR /&gt;-------------------^&lt;BR /&gt;compilation aborted for bug.f (code 1)&lt;/P&gt;
&lt;P&gt;Renaming to KLASSIFY avoids the error, but still, it's a bug.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;--Eric&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 16:46:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-frontend-bug/m-p/1386008#M161428</guid>
      <dc:creator>Eric_K_7</dc:creator>
      <dc:date>2022-05-20T16:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: ifort frontend bug</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-frontend-bug/m-p/1386168#M161433</link>
      <description>&lt;P&gt;Hi Eric,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, it's a bug in the fixed source form parsing.&amp;nbsp; I created your example as a fixed source form file 'repro.f'.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I discovered that if you rename this file from ".f" to ".f90" so the compiler treats it as a free source form there is no issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have had a couple of such fixed source form parsing errors in the past year.&amp;nbsp; I'll write up a bug report.&amp;nbsp; Thanks for sending this to us.&amp;nbsp; My 2 samples attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 21:03:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-frontend-bug/m-p/1386168#M161433</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2022-05-20T21:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: ifort frontend bug</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-frontend-bug/m-p/1387149#M161514</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The test code provided by Ron has reproduced the desired bug. The bug has been reported to the proper channel to proceed further. We will keep posting updates here.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 22:58:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-frontend-bug/m-p/1387149#M161514</guid>
      <dc:creator>Shiquan_Su</dc:creator>
      <dc:date>2022-05-24T22:58:18Z</dc:date>
    </item>
    <item>
      <title>Re:ifort frontend bug</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-frontend-bug/m-p/1395794#M161860</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The fix will be included in the next  OneAPI release, which is typically within 3 months. Thank you.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Jun 2022 21:24:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-frontend-bug/m-p/1395794#M161860</guid>
      <dc:creator>Shiquan_Su</dc:creator>
      <dc:date>2022-06-27T21:24:06Z</dc:date>
    </item>
  </channel>
</rss>

