<?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: Runtime error with polymorphic pointer in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-with-polymorphic-pointer/m-p/860516#M68960</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/332838"&gt;thomas_boehme&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 style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;That's a bug introduced in v11.1.051. I already reported in in following thread:&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=69682"&gt;http://software.intel.com/en-us/forums/showthread.php?t=69682&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As a workaround, you can disable Diagnostics-&amp;gt;Generate Interface Blocks and Diagnostics-&amp;gt;Check Routine Interfaces. See the above mentioned thread for details.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Thomas&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thanks!&lt;BR /&gt;</description>
    <pubDate>Tue, 15 Dec 2009 17:10:57 GMT</pubDate>
    <dc:creator>MDK</dc:creator>
    <dc:date>2009-12-15T17:10:57Z</dc:date>
    <item>
      <title>Runtime error with polymorphic pointer</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-with-polymorphic-pointer/m-p/860514#M68958</link>
      <description>&lt;PRE&gt;[plain]module ifort_bug_mod

    implicit none
    
    type :: base_t
        integer :: dummy = 0
    end type
    
end module


program ifort_bug

    use ifort_bug_mod
    
    implicit none
    type(base_t), pointer :: p_ok =&amp;gt; null()
    class(base_t), pointer :: p_err =&amp;gt; null()
    type(base_t), target :: base

    p_ok =&amp;gt; base ! ok
    p_err =&amp;gt; base  ! runtime error

end program[/plain]&lt;/PRE&gt;
&lt;BR /&gt;As far as I can tell this is a compiler bug (v11.1.051). As you can see, simply associating a polymorphic pointer with a target causes a runtime error.</description>
      <pubDate>Tue, 15 Dec 2009 16:47:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-with-polymorphic-pointer/m-p/860514#M68958</guid>
      <dc:creator>MDK</dc:creator>
      <dc:date>2009-12-15T16:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error with polymorphic pointer</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-with-polymorphic-pointer/m-p/860515#M68959</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/435760"&gt;MDK&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;/EM&gt;&lt;PRE&gt;&lt;EM&gt;[plain]module ifort_bug_mod

    implicit none
    
    type :: base_t
        integer :: dummy = 0
    end type
    
end module


program ifort_bug

    use ifort_bug_mod
    
    implicit none
    type(base_t), pointer :: p_ok =&amp;gt; null()
    class(base_t), pointer :: p_err =&amp;gt; null()
    type(base_t), target :: base

    p_ok =&amp;gt; base ! ok
    p_err =&amp;gt; base  ! runtime error

end program[/plain]&lt;/EM&gt;&lt;/PRE&gt;
&lt;BR /&gt;As far as I can tell this is a compiler bug (v11.1.051). As you can see, simply associating a polymorphic pointer with a target causes a runtime error.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;That's a bug introduced in v11.1.051. I already reported in in following thread:&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=69682"&gt;http://software.intel.com/en-us/forums/showthread.php?t=69682&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As a workaround, you can disable Diagnostics-&amp;gt;Generate Interface Blocks and Diagnostics-&amp;gt;Check Routine Interfaces. See the above mentioned thread for details.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Thomas&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Dec 2009 17:00:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-with-polymorphic-pointer/m-p/860515#M68959</guid>
      <dc:creator>thomas_boehme</dc:creator>
      <dc:date>2009-12-15T17:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error with polymorphic pointer</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-with-polymorphic-pointer/m-p/860516#M68960</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/332838"&gt;thomas_boehme&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 style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;That's a bug introduced in v11.1.051. I already reported in in following thread:&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=69682"&gt;http://software.intel.com/en-us/forums/showthread.php?t=69682&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As a workaround, you can disable Diagnostics-&amp;gt;Generate Interface Blocks and Diagnostics-&amp;gt;Check Routine Interfaces. See the above mentioned thread for details.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Thomas&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thanks!&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Dec 2009 17:10:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Runtime-error-with-polymorphic-pointer/m-p/860516#M68960</guid>
      <dc:creator>MDK</dc:creator>
      <dc:date>2009-12-15T17:10:57Z</dc:date>
    </item>
  </channel>
</rss>

