<?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 Quote:Simon wrote: in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950089#M92018</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Simon wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Ok, I hadn't found this previous thread...&lt;/P&gt;

&lt;P&gt;Is there a public website available to follow the evolution of ifort issues ?&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Yes, it'll be nice if such a site were available..&lt;/P&gt;</description>
    <pubDate>Tue, 18 Mar 2014 13:01:20 GMT</pubDate>
    <dc:creator>FortranFan</dc:creator>
    <dc:date>2014-03-18T13:01:20Z</dc:date>
    <item>
      <title>Finalizer with allocatable components</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950086#M92015</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am trying to understand how finalizers work in Fortran.&lt;/P&gt;

&lt;P&gt;I have written a minimal test program containing a derived type with just a final procedure and an allocatable component.&lt;/P&gt;

&lt;P&gt;It appears that the finalizer is called more that once, and I don't understand why.&lt;/P&gt;

&lt;P&gt;I noticed this behaviour only if the derived type contains an allocatable component, and if more than one object is instantiated from that class.&lt;/P&gt;

&lt;P&gt;Here is the code :&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;
module finalizer_module
implicit none
type :: obj
    real,allocatable :: var
    contains
        final :: clean
end type
contains
    subroutine clean(this)
    type(obj) :: this
        write(*,*) "in finalizer"
    end subroutine clean
end module finalizer_module
!
program test_finalizer
use :: finalizer_module
    call sub
contains
    subroutine sub
    type(obj) :: f1,f2
    end subroutine sub
end program test_finalizer
&lt;/PRE&gt;

&lt;P&gt;And here the output :&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;
 in finalizer
 in finalizer
 in finalizer
&lt;/PRE&gt;

&lt;P&gt;I think I should have only two "in finalizer", as I have two objects (f1,f2) that are destroyed at "end subroutine sub"?&lt;/P&gt;

&lt;P&gt;NB:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;
$ ifort --version
ifort (IFORT) 14.0.2 20140120&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2014 19:05:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950086#M92015</guid>
      <dc:creator>Simon1</dc:creator>
      <dc:date>2014-03-17T19:05:30Z</dc:date>
    </item>
    <item>
      <title>At first glance this appears</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950087#M92016</link>
      <description>&lt;P&gt;At first glance this appears to be ether the same bug or a related one to the one reported in &lt;A href="http://software.intel.com/en-us/forums/topic/487145&amp;nbsp;" target="_blank"&gt;http://software.intel.com/en-us/forums/topic/487145&amp;nbsp;&lt;/A&gt;; For now I'm going to assume it's the same but will add your test case to it - issue ID is DPD200249474.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2014 19:12:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950087#M92016</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-03-17T19:12:39Z</dc:date>
    </item>
    <item>
      <title>Ok, I hadn't found this</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950088#M92017</link>
      <description>&lt;P&gt;Ok, I hadn't found this previous thread...&lt;/P&gt;

&lt;P&gt;Is there a public website available to follow the evolution of ifort issues ?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 09:43:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950088#M92017</guid>
      <dc:creator>Simon1</dc:creator>
      <dc:date>2014-03-18T09:43:51Z</dc:date>
    </item>
    <item>
      <title>Quote:Simon wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950089#M92018</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Simon wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Ok, I hadn't found this previous thread...&lt;/P&gt;

&lt;P&gt;Is there a public website available to follow the evolution of ifort issues ?&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Yes, it'll be nice if such a site were available..&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 13:01:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950089#M92018</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2014-03-18T13:01:20Z</dc:date>
    </item>
    <item>
      <title>This is the site. Any</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950090#M92019</link>
      <description>&lt;P&gt;This is the site. Any developments are added to the forum threads where the issue was reported.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 14:35:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950090#M92019</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-03-18T14:35:31Z</dc:date>
    </item>
    <item>
      <title>Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950091#M92020</link>
      <description>&lt;P&gt;Steve,&lt;/P&gt;

&lt;P&gt;What I think would be helpful would be to have a Sticky thread listing the Issue ID's, summary,&amp;nbsp;status, what version fixed issue, and links back to the forum messages that relate to the issue. This would be immensely useful as a self-help tool.&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 14:53:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950091#M92020</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2014-03-18T14:53:25Z</dc:date>
    </item>
    <item>
      <title>Jim, the "summary" is perhaps</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950092#M92021</link>
      <description>&lt;P&gt;Jim, the "summary" is perhaps the hardest part of that. I know from my many years of writing release notes that it is sometimes difficult if not impossible to come up with a concise summary of a particular problem. (Especially when the symptom is Internal Compiler Error.) Even if one could write a summary, it can mislead people into thinking they have the same problem and they won't report it. We'd much rather you report a duplicate than decide you don't need to report a problem. Often new reports of what looks like the identical problem are in fact something else entirely.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 14:58:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950092#M92021</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-03-18T14:58:18Z</dc:date>
    </item>
    <item>
      <title>Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950093#M92022</link>
      <description>&lt;P&gt;Steve,&lt;/P&gt;

&lt;P&gt;Perhaps you and Intel staff can look at this &lt;STRONG&gt;&lt;A href="http://gcc.gnu.org/bugzilla/buglist.cgi?query_format=&amp;amp;short_desc_type=allwordssubstr&amp;amp;short_desc=&amp;amp;component=fortran&amp;amp;component=libfortran&amp;amp;known_to_fail_type=allwordssubstr&amp;amp;known_to_work_type=allwordssubstr&amp;amp;long_desc_type=substring&amp;amp;long_desc=&amp;amp;bug_file_loc_type=allwordssubstr&amp;amp;bug_file_loc=&amp;amp;gcchost_type=allwordssubstr&amp;amp;gcchost=&amp;amp;gcctarget_type=allwordssubstr&amp;amp;gcctarget=&amp;amp;gccbuild_type=allwordssubstr&amp;amp;gccbuild=&amp;amp;keywords_type=allwords&amp;amp;keywords=&amp;amp;bug_status=UNCONFIRMED&amp;amp;bug_status=NEW&amp;amp;bug_status=ASSIGNED&amp;amp;bug_status=SUSPENDED&amp;amp;bug_status=WAITING&amp;amp;bug_status=REOPENED&amp;amp;emailassigned_to1=1&amp;amp;emailtype1=substring&amp;amp;email1=&amp;amp;emailassigned_to2=1&amp;amp;emailreporter2=1&amp;amp;emailcc2=1&amp;amp;emailtype2=substring&amp;amp;email2=&amp;amp;bugidtype=include&amp;amp;bug_id=&amp;amp;votes=&amp;amp;chfieldfrom=&amp;amp;chfieldto=Now&amp;amp;chfieldvalue=&amp;amp;cmdtype=doit&amp;amp;order=Reuse+same+sort+as+last+time&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0="&gt;site &lt;/A&gt;&lt;/STRONG&gt;which lists all the open issues with gfortran.&amp;nbsp; Something similar for Intel Fortran will be very helpful.&amp;nbsp; As Jim suggests, one good add would be&amp;nbsp;links to any forum topics that connect to the issues.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 15:33:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950093#M92022</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2014-03-18T15:33:12Z</dc:date>
    </item>
    <item>
      <title>The reported problem is fixed</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950094#M92023</link>
      <description>&lt;P&gt;The reported problem is fixed in 15.0.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 18:34:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Finalizer-with-allocatable-components/m-p/950094#M92023</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-09-04T18:34:53Z</dc:date>
    </item>
  </channel>
</rss>

