<?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 Thank you for the reproducer. in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941731#M90193</link>
    <description>&lt;P&gt;Thank you for the reproducer. I have escalated this issue to the developers, the issue number is DPD200243783. I will post any updates I receive to this thread.&lt;/P&gt;
&lt;P&gt;Annalee&lt;/P&gt;</description>
    <pubDate>Mon, 29 Apr 2013 23:23:30 GMT</pubDate>
    <dc:creator>Anonymous66</dc:creator>
    <dc:date>2013-04-29T23:23:30Z</dc:date>
    <item>
      <title>Procedure pointer component association problems</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941726#M90188</link>
      <description>&lt;P&gt;Hello Steve,&lt;BR /&gt;&lt;BR /&gt;I went ahead and used the workaround you suggested at &lt;A href="http://software.intel.com/en-us/forums/topic/339466" target="_blank"&gt;http://software.intel.com/en-us/forums/topic/339466&lt;/A&gt;, and I am now able to get this particular project to compile.&amp;nbsp; However, I am getting some runtime behavior related to procedure pointer association that I believe is not correct.&amp;nbsp; Basically I have a subroutine that accepts a derived type and a procedure pointer, and sets one of the derived type procedure pointer components to point to the dummy argument.&amp;nbsp; The problem is, immediately after the line that does this, a different procedure pointer component, which was unassociated before, now becomes associated, even though it hasn't been touched.&amp;nbsp; Here is some pseudo code that demonstrates this:&lt;BR /&gt;&lt;BR /&gt;[fortran]&lt;BR /&gt;TYPE Object&lt;BR /&gt;&amp;nbsp; PROCEDURE(), POINTER, NOPASS :: f =&amp;gt; NULL()&lt;BR /&gt;&amp;nbsp; PROCEDURE(), POINTER, NOPASS :: g =&amp;gt; NULL()&lt;BR /&gt;END TYPE Object&lt;BR /&gt;&lt;BR /&gt;SUBROUTINE foo(o, farg)&lt;BR /&gt;&amp;nbsp; TYPE (Object) :: o&lt;BR /&gt;&amp;nbsp; PROCEDURE(), POINTER :: farg&lt;BR /&gt;&amp;nbsp; ! At this point, o%g is not associated&lt;BR /&gt;&amp;nbsp; o%f =&amp;gt; farg&lt;BR /&gt;&amp;nbsp; ! Now o%g has become associated even though I didn't touch it&lt;BR /&gt;END SUBROUTINE foo&lt;BR /&gt;[/fortran]&lt;BR /&gt;&lt;BR /&gt;Any thoughts on this, or does this sound like a compiler bug?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;John&lt;BR /&gt;&lt;BR /&gt;P.S. Can you confirm that the f and g components in my example are guaranteed to be not associated when a new instance of TYPE(Object) is declared?&amp;nbsp; (I don't think this has to do with my problem, since I did confirm that o%g is not associated before the line of interest.)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2013 13:48:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941726#M90188</guid>
      <dc:creator>jmcfarland101</dc:creator>
      <dc:date>2013-04-25T13:48:29Z</dc:date>
    </item>
    <item>
      <title>Hello John,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941727#M90189</link>
      <description>&lt;P&gt;Hello John,&lt;/P&gt;
&lt;P&gt;What you are describing would be bug. Could you submit a running program which demonstrates this issue?&lt;/P&gt;
&lt;P&gt;Annalee&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2013 19:18:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941727#M90189</guid>
      <dc:creator>Anonymous66</dc:creator>
      <dc:date>2013-04-25T19:18:29Z</dc:date>
    </item>
    <item>
      <title>Sorry, this got double posted</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941728#M90190</link>
      <description>&lt;P&gt;Sorry, this got double posted.&amp;nbsp; Please feel free to delete one of the duplicate threads.&amp;nbsp; (It took a while for the original post to show up, so I thought it hadn't gone through).&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2013 19:36:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941728#M90190</guid>
      <dc:creator>jmcfarland101</dc:creator>
      <dc:date>2013-04-25T19:36:12Z</dc:date>
    </item>
    <item>
      <title>I will look into creating a</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941729#M90191</link>
      <description>&lt;P&gt;I will look into creating a minimal test case.&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2013 19:40:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941729#M90191</guid>
      <dc:creator>jmcfarland101</dc:creator>
      <dc:date>2013-04-25T19:40:48Z</dc:date>
    </item>
    <item>
      <title>Attached is a reduced test</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941730#M90192</link>
      <description>&lt;P&gt;Attached is a reduced test case.&amp;nbsp; It should print False ,False; instead it prints False, True.&lt;/P&gt;
&lt;P&gt;Some of the complexity (compared to my original pseudo-code example) was necessary to trigger the bug.&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2013 21:19:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941730#M90192</guid>
      <dc:creator>jmcfarland101</dc:creator>
      <dc:date>2013-04-29T21:19:30Z</dc:date>
    </item>
    <item>
      <title>Thank you for the reproducer.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941731#M90193</link>
      <description>&lt;P&gt;Thank you for the reproducer. I have escalated this issue to the developers, the issue number is DPD200243783. I will post any updates I receive to this thread.&lt;/P&gt;
&lt;P&gt;Annalee&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2013 23:23:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941731#M90193</guid>
      <dc:creator>Anonymous66</dc:creator>
      <dc:date>2013-04-29T23:23:30Z</dc:date>
    </item>
    <item>
      <title>Interchanging the order of</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941732#M90194</link>
      <description>&lt;P&gt;&lt;BR /&gt;
	Interchanging the order of field declarations inside TYPE COMPONENT, so that the procedure pointer is not the first field, causes the error to go away. Try:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; TYPE Component&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; PROCEDURE(response_template), POINTER, NOPASS :: foo&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; TYPE (MulticallFunction) :: mc&lt;BR /&gt;
	&amp;nbsp; END TYPE Component&lt;/P&gt;

&lt;P&gt;instead of:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; TYPE Component&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; TYPE (MulticallFunction) :: mc&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; PROCEDURE(response_template), POINTER, NOPASS :: foo&lt;BR /&gt;
	&amp;nbsp; END TYPE Component&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2014 19:48:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941732#M90194</guid>
      <dc:creator>Udit_P_Intel</dc:creator>
      <dc:date>2014-01-16T19:48:25Z</dc:date>
    </item>
    <item>
      <title>This bug was fixed in the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941733#M90195</link>
      <description>&lt;P&gt;This bug was fixed in the recently released v15.0 compiler, aka "Composer XE 2015"&lt;/P&gt;

&lt;P&gt;ron&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2014 20:11:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Procedure-pointer-component-association-problems/m-p/941733#M90195</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2014-09-09T20:11:17Z</dc:date>
    </item>
  </channel>
</rss>

