<?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: AIO Assertion: Unexpected statement in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/AIO-Assertion-Unexpected-statement/m-p/759104#M14591</link>
    <description>&lt;BR /&gt;Thanks for the interesting issue. I have reproduced this and will report it to Development.&lt;BR /&gt;&lt;BR /&gt;The (10) in the error is the number of lines in the file+1. Very bizarre.&lt;BR /&gt;&lt;BR /&gt;I will post updates as I learn more.</description>
    <pubDate>Thu, 17 Sep 2009 17:54:21 GMT</pubDate>
    <dc:creator>Kevin_D_Intel</dc:creator>
    <dc:date>2009-09-17T17:54:21Z</dc:date>
    <item>
      <title>AIO Assertion: Unexpected statement</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/AIO-Assertion-Unexpected-statement/m-p/759103#M14590</link>
      <description>This one's fun: I found a bug! The following test code causes an ifort crash:
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;  program cause_AIO_assertion&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;  integer D1,D2&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;  if(D1)&lt;/DIV&gt;
&lt;DIV&gt;  &amp;amp; if(D2) write(*,*) "D1 .and. D2"&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;  end program cause_AIO_assertion&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;version info (3 platforms: mac, ubuntu, ubuntu):&lt;SPAN style="font-family: Verdana;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana;"&gt;mac:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana;"&gt;uname -a:Darwin xx.xx.xx.xx 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana;"&gt;ifort --version: ifort (IFORT) 11.1 20090624&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;ununtu1:&lt;/DIV&gt;
&lt;DIV&gt;uname -a:Linux yy.yy.yy.yy 2.6.24-24-generic #1 SMP Tue Aug 18 16:22:17 UTC 2009 x86_64 GNU/Linux&lt;/DIV&gt;
&lt;DIV&gt;ifort --version:ifort (IFORT) 10.1 20080602&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;ubuntu2:&lt;/DIV&gt;
&lt;DIV&gt;uname -a:Linux zz.zz.zz.zz 2.6.24-24-server #1 SMP Tue Aug 18 16:51:43 UTC 2009 x86_64 GNU/Linux&lt;/DIV&gt;
&lt;DIV&gt;ifort --version:ifort (IFORT) 11.1 20090511&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;compile line and result:&lt;/DIV&gt;
&lt;DIV&gt;notice that the current ifort release (11.1) doesn't give a line number!&lt;/DIV&gt;
&lt;DIV&gt;it's a good thing the previous release (10.0) did, or this would have been a very complicated bug report.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;mac and ubuntu2 (my other code caused a "(537)" instead of "(10)", if that matters):&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;nooj$ ifort AIO-error.f&lt;/DIV&gt;
&lt;DIV&gt;(10): catastrophic error: Internal Compiler Error: Unexpected statement&lt;/DIV&gt;
&lt;DIV&gt;compilation aborted for AIO-error.f (code 1)&lt;/DIV&gt;
&lt;DIV&gt;nooj$&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;ubuntu1 (the caret is positioned at column 1):&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;(r893) cozumel:~/v/test/AIO-assertion-error nooj$ ifort AIO-error.f&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;    AIO assertion: Unexpected statement&lt;/DIV&gt;
&lt;DIV&gt;fortcom: Severe: AIO-error.f, line 7: Please report this error along with the circumstances in which it occurred in a Software Problem Report&lt;/DIV&gt;
&lt;DIV&gt;  &amp;amp; if(D2) write(*,*) "D1 .and. D2"&lt;/DIV&gt;
&lt;DIV&gt;^&lt;/DIV&gt;
&lt;DIV&gt;[ Aborting due to internal error. ]&lt;/DIV&gt;
&lt;DIV&gt;compilation aborted for AIO-error.f (code 1)&lt;/DIV&gt;
&lt;DIV&gt;nooj$&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Sep 2009 17:39:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/AIO-Assertion-Unexpected-statement/m-p/759103#M14590</guid>
      <dc:creator>nooj</dc:creator>
      <dc:date>2009-09-17T17:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: AIO Assertion: Unexpected statement</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/AIO-Assertion-Unexpected-statement/m-p/759104#M14591</link>
      <description>&lt;BR /&gt;Thanks for the interesting issue. I have reproduced this and will report it to Development.&lt;BR /&gt;&lt;BR /&gt;The (10) in the error is the number of lines in the file+1. Very bizarre.&lt;BR /&gt;&lt;BR /&gt;I will post updates as I learn more.</description>
      <pubDate>Thu, 17 Sep 2009 17:54:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/AIO-Assertion-Unexpected-statement/m-p/759104#M14591</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2009-09-17T17:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: AIO Assertion: Unexpected statement</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/AIO-Assertion-Unexpected-statement/m-p/759105#M14592</link>
      <description>I think this one is already reported as DPD200139149.&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Sep 2009 18:43:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/AIO-Assertion-Unexpected-statement/m-p/759105#M14592</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-09-17T18:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: AIO Assertion: Unexpected statement</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/AIO-Assertion-Unexpected-statement/m-p/759106#M14593</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;I think this one is already reported as DPD200139149.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;i think you're right.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;also, you're only 45 posts shy of 100,000!&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Sep 2009 23:51:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/AIO-Assertion-Unexpected-statement/m-p/759106#M14593</guid>
      <dc:creator>nooj</dc:creator>
      <dc:date>2009-09-17T23:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: AIO Assertion: Unexpected statement</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/AIO-Assertion-Unexpected-statement/m-p/759107#M14594</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/409369"&gt;nooj&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV&gt;also, you're only 45 posts shy of 100,000!&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Not any more! Note that it's points, not posts.&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Sep 2009 17:29:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/AIO-Assertion-Unexpected-statement/m-p/759107#M14594</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-09-18T17:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: AIO Assertion: Unexpected statement</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/AIO-Assertion-Unexpected-statement/m-p/759108#M14595</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/409369"&gt;nooj&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;This one's fun: I found a bug! The following test code causes an ifort crash:
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;program cause_AIO_assertion&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;integer D1,D2&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;if(D1)&lt;/DIV&gt;
&lt;DIV&gt;&amp;amp; if(D2) write(*,*) "D1 .and. D2"&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;end program cause_AIO_assertion&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;This is a bug in the sense that the compiler should never fail, but if the compiler were working correctly, it would tell you this is not a legal program (because you can't "nest" logical IF statements). [In a standard program, D1 and D2 would also have to be LOGICAL, but this part of it I think may be an extension supported by ifort.]&lt;BR /&gt;&lt;BR /&gt;If you are looking for a workaround to make your original program work, change the "outer" IF to a block IF:&lt;BR /&gt;&lt;BR /&gt;if (D1) then&lt;BR /&gt; if (D2) write(*,*) "D1.and.D2"&lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;-Kurt&lt;BR /&gt;</description>
      <pubDate>Sat, 19 Sep 2009 14:33:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/AIO-Assertion-Unexpected-statement/m-p/759108#M14595</guid>
      <dc:creator>Hirchert__Kurt_W</dc:creator>
      <dc:date>2009-09-19T14:33:04Z</dc:date>
    </item>
  </channel>
</rss>

