<?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 Just noticed that new version in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993905#M102108</link>
    <description>&lt;P&gt;Just noticed that new version of the compiler was released yesterday with the fix, sorry for the noise :-)&lt;/P&gt;</description>
    <pubDate>Sat, 02 Feb 2013 18:45:13 GMT</pubDate>
    <dc:creator>Kacper_Kowalik</dc:creator>
    <dc:date>2013-02-02T18:45:13Z</dc:date>
    <item>
      <title>[ICE] intrinsic call with allocatable array and scalar with -assume realloc_lhs</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993900#M102103</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt; following code:&lt;/P&gt;
&lt;P&gt;program ala &lt;BR /&gt; real, dimension(:), allocatable :: a &lt;BR /&gt; allocate(a(2)) &lt;BR /&gt; a = 0.0 &lt;BR /&gt; a = min(a, 1.0) &lt;BR /&gt; print *, a &lt;BR /&gt; deallocate(a) &lt;BR /&gt; end program ala&lt;/P&gt;
&lt;P&gt;causes ICE when compiled with: ifort -assume realloc_lhs ala.f90 &lt;BR /&gt; Compiler that I've used:&lt;BR /&gt; Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.0.0.079 Build 20120731&lt;BR /&gt; Best regards,&lt;BR /&gt; Kacper Kowalik&lt;/P&gt;</description>
      <pubDate>Sat, 22 Sep 2012 16:33:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993900#M102103</guid>
      <dc:creator>Kacper_Kowalik</dc:creator>
      <dc:date>2012-09-22T16:33:03Z</dc:date>
    </item>
    <item>
      <title>Hello Kacper</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993901#M102104</link>
      <description>Hello Kacper

I will investigate and will escalate to engineering, I will let you know about more details later. 

Heinz</description>
      <pubDate>Mon, 24 Sep 2012 06:22:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993901#M102104</guid>
      <dc:creator>Heinz_B_Intel</dc:creator>
      <dc:date>2012-09-24T06:22:55Z</dc:date>
    </item>
    <item>
      <title>Hello Kacper</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993902#M102105</link>
      <description>Hello Kacper

I have escalated the problem to the compiler developers; case number is DPD200236655. I will let you know when a compiler with a fix will be available,

Thanks for providing such a small test case

Heinz</description>
      <pubDate>Mon, 24 Sep 2012 11:41:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993902#M102105</guid>
      <dc:creator>Heinz_B_Intel</dc:creator>
      <dc:date>2012-09-24T11:41:38Z</dc:date>
    </item>
    <item>
      <title>Might be a good workaround</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993903#M102106</link>
      <description>Might be a good workaround for you: Swapping the arguments for MIN() prevents the bug; a = min(1.0, a)  works as expected.</description>
      <pubDate>Mon, 24 Sep 2012 13:52:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993903#M102106</guid>
      <dc:creator>Heinz_B_Intel</dc:creator>
      <dc:date>2012-09-24T13:52:56Z</dc:date>
    </item>
    <item>
      <title>Quote:HeinzB (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993904#M102107</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;HeinzB (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Might be a good workaround for you: Swapping the arguments for MIN() prevents the bug; a = min(1.0, a) works as expected.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;That bug is still present in 13.0.1 and that workaround cannot be applied to all intrinsic funtion, like "ishft" where order of arguments matter. Better way to &amp;nbsp; avoid this is to explictly disable realloc_lhs in offending lines by adding (:), e.g. a(:) = min(a, 1.0)&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Kacper&lt;/P&gt;</description>
      <pubDate>Sat, 02 Feb 2013 17:03:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993904#M102107</guid>
      <dc:creator>Kacper_Kowalik</dc:creator>
      <dc:date>2013-02-02T17:03:25Z</dc:date>
    </item>
    <item>
      <title>Just noticed that new version</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993905#M102108</link>
      <description>&lt;P&gt;Just noticed that new version of the compiler was released yesterday with the fix, sorry for the noise :-)&lt;/P&gt;</description>
      <pubDate>Sat, 02 Feb 2013 18:45:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993905#M102108</guid>
      <dc:creator>Kacper_Kowalik</dc:creator>
      <dc:date>2013-02-02T18:45:13Z</dc:date>
    </item>
    <item>
      <title>Not fixed quite yet. Although</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993906#M102109</link>
      <description>&lt;P&gt;Not fixed quite yet. Although it now works for original code with "min" it still ICEs for other functions (with ifort-13.1):&lt;/P&gt;
&lt;P&gt;[fortran]&lt;/P&gt;
&lt;P&gt;program ala &lt;BR /&gt; integer, dimension(:), allocatable :: a &lt;BR /&gt; allocate(a(2)) &lt;BR /&gt; a = 0&lt;BR /&gt; a = ishft(a, -1) &lt;BR /&gt; deallocate(a) &lt;BR /&gt;end program ala&lt;/P&gt;
&lt;P&gt;[/fortran]&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Feb 2013 18:56:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993906#M102109</guid>
      <dc:creator>Kacper_Kowalik</dc:creator>
      <dc:date>2013-02-02T18:56:15Z</dc:date>
    </item>
    <item>
      <title>Sigh - I can reproduce this</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993907#M102110</link>
      <description>&lt;P&gt;Sigh - I can reproduce this and will report it.&amp;nbsp; Thanks. Issue ID is DPD200240757.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2013 17:04:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993907#M102110</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-02-04T17:04:00Z</dc:date>
    </item>
    <item>
      <title>Kacper, the problem with</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993908#M102111</link>
      <description>&lt;P&gt;Kacper, the problem with ishft is expected to be fixed in Update 3. We have gone through all of the intrinsics where this could be a problem and implemented a common solution.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2013 20:55:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993908#M102111</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-02-19T20:55:34Z</dc:date>
    </item>
    <item>
      <title>The ICE has been fixed by 13</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993909#M102112</link>
      <description>&lt;P&gt;The ICE has been fixed by 13.0 Update 1 already; sorry for the late update. I just tested Update 2 and it doesn't show the ICE either.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Heinz&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2013 10:20:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-intrinsic-call-with-allocatable-array-and-scalar-with-assume/m-p/993909#M102112</guid>
      <dc:creator>Heinz_B_Intel</dc:creator>
      <dc:date>2013-02-25T10:20:23Z</dc:date>
    </item>
  </channel>
</rss>

