<?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: Function with entry and allocatable result gives ICE in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Function-with-entry-and-allocatable-result-gives-ICE/m-p/1546990#M169385</link>
    <description>&lt;P&gt;Sort-of the latter.&amp;nbsp; My own codes would rather try to use more modern Fortran features.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2023 22:06:26 GMT</pubDate>
    <dc:creator>Harald1</dc:creator>
    <dc:date>2023-11-23T22:06:26Z</dc:date>
    <item>
      <title>Function with entry and allocatable result gives ICE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Function-with-entry-and-allocatable-result-gives-ICE/m-p/1474720#M165976</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;the following snippet produces an ICE with ifort 2021.9 but not with ifx &lt;SPAN&gt;2023.1:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="fortran"&gt;function f3()
! real, pointer     :: f3, e3 ! no ICE
  real, allocatable :: f3, e3 ! ICE
  allocate (f3, source=1.0)
  return
entry e3()
  allocate (e3, source=2.0)
end
&lt;/LI-CODE&gt;
&lt;P&gt;I get:&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;% ifort ifort-entry-allocable.f90 -c
ifort-entry-allocable.f90: catastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report.  Note: File and line given may not be explicit cause of this error.
compilation aborted for ifort-entry-allocable.f90 (code 1)
&lt;/LI-CODE&gt;
&lt;P&gt;Is this a known issue that has been fixed for ifx?&amp;nbsp; If so, are there plans to backport a fix to ifort?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Harald&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2023 20:45:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Function-with-entry-and-allocatable-result-gives-ICE/m-p/1474720#M165976</guid>
      <dc:creator>Harald1</dc:creator>
      <dc:date>2023-04-09T20:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Function with entry and allocatable result gives ICE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Function-with-entry-and-allocatable-result-gives-ICE/m-p/1474911#M165980</link>
      <description>&lt;P&gt;Ifort and IFX use the same language parser and interpreter.&amp;nbsp; Same code, we do not use separate branches. But there is the middle and backends that differ.&lt;/P&gt;
&lt;P&gt;This bug is unique to Ifort.&amp;nbsp; The ENTRY is tripping it up, specifically while it's making the prolog code for the E3entry point.&amp;nbsp; I will get a bug report for this.&amp;nbsp; And I'll check with the developer who has recently been working on ENTRY handling.&amp;nbsp; Thanks for sending this to us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ron&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 14:25:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Function-with-entry-and-allocatable-result-gives-ICE/m-p/1474911#M165980</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-04-10T14:25:36Z</dc:date>
    </item>
    <item>
      <title>Re:Function with entry and allocatable result gives ICE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Function-with-entry-and-allocatable-result-gives-ICE/m-p/1474917#M165981</link>
      <description>&lt;P&gt;Bug ID is CMPLRIL0-35273&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Apr 2023 14:48:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Function-with-entry-and-allocatable-result-gives-ICE/m-p/1474917#M165981</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-04-10T14:48:34Z</dc:date>
    </item>
    <item>
      <title>Re:Function with entry and allocatable result gives ICE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Function-with-entry-and-allocatable-result-gives-ICE/m-p/1546192#M169313</link>
      <description>&lt;P&gt;This issue is fixed in the recent 2024.0 release.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Nov 2023 19:24:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Function-with-entry-and-allocatable-result-gives-ICE/m-p/1546192#M169313</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-11-21T19:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Function with entry and allocatable result gives ICE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Function-with-entry-and-allocatable-result-gives-ICE/m-p/1546624#M169361</link>
      <description>&lt;P&gt;Confirmed: the ICE is gone.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 21:26:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Function-with-entry-and-allocatable-result-gives-ICE/m-p/1546624#M169361</guid>
      <dc:creator>Harald1</dc:creator>
      <dc:date>2023-11-22T21:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Function with entry and allocatable result gives ICE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Function-with-entry-and-allocatable-result-gives-ICE/m-p/1546894#M169375</link>
      <description>&lt;P&gt;Do you actually use ENTRY or where you working with some ancient code?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 16:23:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Function-with-entry-and-allocatable-result-gives-ICE/m-p/1546894#M169375</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2023-11-23T16:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Function with entry and allocatable result gives ICE</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Function-with-entry-and-allocatable-result-gives-ICE/m-p/1546990#M169385</link>
      <description>&lt;P&gt;Sort-of the latter.&amp;nbsp; My own codes would rather try to use more modern Fortran features.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 22:06:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Function-with-entry-and-allocatable-result-gives-ICE/m-p/1546990#M169385</guid>
      <dc:creator>Harald1</dc:creator>
      <dc:date>2023-11-23T22:06:26Z</dc:date>
    </item>
  </channel>
</rss>

