<?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 I don't know if Issue in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021475#M108302</link>
    <description>&lt;P&gt;Was DPD200362026 fixed for 16.0? &amp;nbsp;If so there is still a problem. &amp;nbsp;My attached reproducer is still failing for this new version. &amp;nbsp;The only difference is that it now results in a segfault instead of garbage results. &amp;nbsp;The good news is that 16.0 resolves all my other outstanding bug reports (8 in all), the oldest going back to Oct 2012.&lt;/P&gt;</description>
    <pubDate>Sat, 05 Sep 2015 17:32:46 GMT</pubDate>
    <dc:creator>Neil_Carlson</dc:creator>
    <dc:date>2015-09-05T17:32:46Z</dc:date>
    <item>
      <title>Bad results from assignment to allocatable array (with realloc_lhs)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021473#M108300</link>
      <description>&lt;P&gt;I've attached a small example that clearly demonstrates that bad results are obtained from assignment to an (unallocated) allocatable array. &amp;nbsp;I am using the required realloc_lhs switch. &amp;nbsp;The problem exists with both Intel 14.0.3 and 15.0.2. &amp;nbsp; A key ingredient to the problem seems to be that the rhs of the assignment is an elemental type bound function referenced through a derived type array.&lt;/P&gt;</description>
      <pubDate>Sun, 31 May 2015 22:25:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021473#M108300</guid>
      <dc:creator>Neil_Carlson</dc:creator>
      <dc:date>2015-05-31T22:25:33Z</dc:date>
    </item>
    <item>
      <title>Thanks - I believe this is a</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021474#M108301</link>
      <description>&lt;P&gt;Thanks - I believe this is a problem we're already looking at, issue ID&amp;nbsp;DPD200362026. The other case involves use of an elemental function call in an ALLOCATE with SOURCE=, but the behavior is the same, as is the fact that it worked in 13.1 but not in 14.0. I'll let you know what we find.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2015 14:12:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021474#M108301</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2015-06-01T14:12:26Z</dc:date>
    </item>
    <item>
      <title>I don't know if Issue</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021475#M108302</link>
      <description>&lt;P&gt;Was DPD200362026 fixed for 16.0? &amp;nbsp;If so there is still a problem. &amp;nbsp;My attached reproducer is still failing for this new version. &amp;nbsp;The only difference is that it now results in a segfault instead of garbage results. &amp;nbsp;The good news is that 16.0 resolves all my other outstanding bug reports (8 in all), the oldest going back to Oct 2012.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Sep 2015 17:32:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021475#M108302</guid>
      <dc:creator>Neil_Carlson</dc:creator>
      <dc:date>2015-09-05T17:32:46Z</dc:date>
    </item>
    <item>
      <title>The internal id Steve</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021476#M108303</link>
      <description>&lt;P&gt;The internal id Steve associated with your issue has not been fixed in the 16.0 release. He believed it was related to this report (&lt;A href="https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/532723"&gt;https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/532723&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;I tested your case and the other case and found that nether is fixed in the 16.0 release. I confirmed the segmentation-fault you noted about your test case. I also found that both cases produce expected results with our latest internal development 16.0 compiler. So, it appears Development may have a fix in the pipeline for these two cases. I will update the internal tracking id with these latest findings and we will keep you posted regarding new status as we learn it.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Sep 2015 08:47:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021476#M108303</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2015-09-06T08:47:11Z</dc:date>
    </item>
    <item>
      <title>Thanks for the update Kevin,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021477#M108304</link>
      <description>&lt;P&gt;Thanks for the update Kevin, much appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Sep 2015 12:21:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021477#M108304</guid>
      <dc:creator>Neil_Carlson</dc:creator>
      <dc:date>2015-09-06T12:21:21Z</dc:date>
    </item>
    <item>
      <title>The issue seems to have</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021478#M108305</link>
      <description>&lt;P&gt;The issue seems to have gotten "worse" with the 16 compiler. &amp;nbsp;In my attached example the lhs allocatable array needed to be allocated as part of the assignment&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;sizes = sets%size()&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;The workaround I cited (commented-out code) was to allocate the lhs array and then assign to it. &amp;nbsp;This worked with the 15.0.3 compiler, but does not with the 16.0 compiler. &amp;nbsp;Even in that case the lhs array is filled with bad data. &amp;nbsp;I suppose the new workaround is to use a do-loop and make the assignment element-by-element. &amp;nbsp;Just wanted to let you know.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2015 20:27:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021478#M108305</guid>
      <dc:creator>Neil_Carlson</dc:creator>
      <dc:date>2015-09-14T20:27:12Z</dc:date>
    </item>
    <item>
      <title>Thank you for the update</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021479#M108306</link>
      <description>&lt;P&gt;Thank you for the update regarding this change in the work around, that is unfortunate.&lt;/P&gt;

&lt;P&gt;With regard to the fix for the earlier cited internal id, Development confirmed the issue is fixed as&amp;nbsp;I noted earlier it appeared to be and that&amp;nbsp;the fix will be in the next 2016 Update 1 tentatively targeted for early November.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 15:28:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021479#M108306</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2015-09-15T15:28:24Z</dc:date>
    </item>
    <item>
      <title>I confirmed your issue is</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021480#M108307</link>
      <description>&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I confirmed your issue is fixed in our upcoming Parallel Studio XE 2016 Update 1 release which should be available soon.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 10:40:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Bad-results-from-assignment-to-allocatable-array-with-realloc/m-p/1021480#M108307</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2015-11-11T10:40:59Z</dc:date>
    </item>
  </channel>
</rss>

