<?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: ICE on string substring reference,  crashes IFX but not IFORT in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-on-string-substring-reference-crashes-IFX-but-not-IFORT/m-p/1473614#M165885</link>
    <description>&lt;P&gt;When I did a recent "apt upgrade" it appears to have installed 2023.1.0.&amp;nbsp; The results have been substantially better but there are at least several more to go. They take a while to reduce down to something small enough to post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ifx --version&lt;BR /&gt;ifx (IFX) 2023.1.0 20230320&lt;BR /&gt;Copyright (C) 1985-2023 Intel Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for giving these your attention.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS:&lt;/P&gt;
&lt;P&gt;That upgrade chewed though a lot of filespace, by the way. Even after cleanup it took around 8GB. That is a heck of a lot for an upgrade.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2023 21:18:59 GMT</pubDate>
    <dc:creator>ur</dc:creator>
    <dc:date>2023-04-05T21:18:59Z</dc:date>
    <item>
      <title>ICE on string substring reference,  crashes IFX but not IFORT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-on-string-substring-reference-crashes-IFX-but-not-IFORT/m-p/1473270#M165867</link>
      <description>&lt;LI-CODE lang="fortran"&gt;module m_getopt_long
implicit none

type pstring
  character(len=:), pointer :: str 
end type pstring

character(len=10), target :: initial_string='1234567890'

contains

character(len=1) function getopt(self) result(retval)
type(pstring), pointer :: self
     self%str =&amp;gt; initial_string
     self%str=&amp;gt;self%str(2:)
     retval=self%str(1:1)
end function getopt

end module m_getopt_long

! xx.f90(14): error #5623: **Internal compiler error: internal abort**
!             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.
! 
!      self%str=&amp;gt;self%str(2:)
! -----^
! compilation aborted for xx.f90 (code 3)
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 05 Apr 2023 00:48:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-on-string-substring-reference-crashes-IFX-but-not-IFORT/m-p/1473270#M165867</guid>
      <dc:creator>ur</dc:creator>
      <dc:date>2023-04-05T00:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: ICE on string substring reference,  crashes IFX but not IFORT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-on-string-substring-reference-crashes-IFX-but-not-IFORT/m-p/1473275#M165868</link>
      <description>&lt;P&gt;This gets an ICE too;&amp;nbsp; compiles with ifort -c&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="fortran"&gt;module m_xterm
   use, intrinsic :: iso_c_binding, only: c_int, c_char
   implicit none
   interface
      function system_timeout_getkey(delay) bind(c, name='Ftimeout_getkey')
         use iso_c_binding
         implicit none
         integer(kind=c_int), intent(in), value :: delay
         character(kind=c_char) :: system_timeout_getkey
      end function system_timeout_getkey
   end interface
contains

   function rawget() result(readback)
      character(len=:), allocatable    :: readback
      readback = system_timeout_getkey(1_c_int)
   end function rawget
end module m_xterm
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 01:15:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-on-string-substring-reference-crashes-IFX-but-not-IFORT/m-p/1473275#M165868</guid>
      <dc:creator>ur</dc:creator>
      <dc:date>2023-04-05T01:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: ICE on string substring reference,  crashes IFX but not IFORT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-on-string-substring-reference-crashes-IFX-but-not-IFORT/m-p/1473486#M165877</link>
      <description>&lt;P&gt;For the first ICE - I see that ICE in the 2023.0 compiler and the (hopefully) soon to be announced 2023.1 compiler. However, the nightly build does NOT ICE.&amp;nbsp; This is the version you will see in 2023.2, which should release in the late summer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the second ICE - this one is different. And it is getting the ICE in all 3 compilers I tried:&amp;nbsp; 2023.0, 2023.1, and the nightly build.&amp;nbsp; I think this one is BIND(C) related, not strings related.&amp;nbsp; I'll open a bug report on this second testcase.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 14:38:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-on-string-substring-reference-crashes-IFX-but-not-IFORT/m-p/1473486#M165877</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-04-05T14:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: ICE on string substring reference,  crashes IFX but not IFORT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-on-string-substring-reference-crashes-IFX-but-not-IFORT/m-p/1473614#M165885</link>
      <description>&lt;P&gt;When I did a recent "apt upgrade" it appears to have installed 2023.1.0.&amp;nbsp; The results have been substantially better but there are at least several more to go. They take a while to reduce down to something small enough to post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ifx --version&lt;BR /&gt;ifx (IFX) 2023.1.0 20230320&lt;BR /&gt;Copyright (C) 1985-2023 Intel Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for giving these your attention.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS:&lt;/P&gt;
&lt;P&gt;That upgrade chewed though a lot of filespace, by the way. Even after cleanup it took around 8GB. That is a heck of a lot for an upgrade.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 21:18:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-on-string-substring-reference-crashes-IFX-but-not-IFORT/m-p/1473614#M165885</guid>
      <dc:creator>ur</dc:creator>
      <dc:date>2023-04-05T21:18:59Z</dc:date>
    </item>
    <item>
      <title>Re:ICE on string substring reference,  crashes IFX but not IFORT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-on-string-substring-reference-crashes-IFX-but-not-IFORT/m-p/1546201#M169318</link>
      <description>&lt;P&gt;this issue was fixed in the 2023.2 release.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Nov 2023 19:42:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ICE-on-string-substring-reference-crashes-IFX-but-not-IFORT/m-p/1546201#M169318</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-11-21T19:42:30Z</dc:date>
    </item>
  </channel>
</rss>

