<?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 I expect this to be fixed in in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Parameterized-derived-type-with-type-bound-procedure-unexpected/m-p/1029521#M110217</link>
    <description>&lt;P&gt;I expect this to be fixed in Update 3, due in May.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2015 19:00:07 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2015-03-24T19:00:07Z</dc:date>
    <item>
      <title>Parameterized derived type with type-bound procedure: unexpected run-time error [forrtl: severe (408): fort: (10)..]</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Parameterized-derived-type-with-type-bound-procedure-unexpected/m-p/1029518#M110214</link>
      <description>&lt;P&gt;The following simple code compiles with no errors or warnings, but generates a run-time error [forrtl: severe (408): fort: (10)..]. &amp;nbsp;I think the code is alright, please correct me otherwise.&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;module m

   implicit none

   private

   type, public :: t(n)
      private
      integer, len :: n = 1
      integer :: m_x(n)
   contains
      procedure, pass(this), public :: load =&amp;gt; load_t_x
   end type t

contains

   subroutine load_t_x(this, dat)

      class(t(*)), intent(inout)               :: this
      integer(kind=kind(this%m_x)), intent(in) :: dat(:)

      this%m_x = dat

      return

   end subroutine load_t_x

end module m

program p

   use m, only : t

   type(t(n=2)) :: foo

   call foo%load( [ 1, 2 ] )

   stop

end program p
&lt;/PRE&gt;

&lt;P&gt;Upon execution,&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;forrtl: severe (408): fort: (10): Subscript #1 of the array M_X has value 1 whic
h is greater than the upper bound of 0

Image              PC                Routine            Line        Source

p.exe              000000013F9744B0  Unknown               Unknown  Unknown
p.exe              000000013F9710BD  M_mp_LOAD_T_X              22  m.f90
p.exe              000000013F971349  MAIN__                      7  p.f90
p.exe              000000013F99707E  Unknown               Unknown  Unknown
p.exe              000000013F997360  Unknown               Unknown  Unknown
kernel32.dll       00000000772359ED  Unknown               Unknown  Unknown
ntdll.dll          000000007736BA01  Unknown               Unknown  Unknown
Press any key to continue . . .
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2015 02:12:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Parameterized-derived-type-with-type-bound-procedure-unexpected/m-p/1029518#M110214</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2015-03-02T02:12:44Z</dc:date>
    </item>
    <item>
      <title>From what I can see, it's</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Parameterized-derived-type-with-type-bound-procedure-unexpected/m-p/1029519#M110215</link>
      <description>&lt;P&gt;From what I can see, it's only the bounds checking error that is the problem, as the assignment is otherwise done successfully. Escalated as issue&amp;nbsp;DPD200367073. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2015 15:03:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Parameterized-derived-type-with-type-bound-procedure-unexpected/m-p/1029519#M110215</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2015-03-02T15:03:19Z</dc:date>
    </item>
    <item>
      <title>Thanks Steve.  Yes, /check</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Parameterized-derived-type-with-type-bound-procedure-unexpected/m-p/1029520#M110216</link>
      <description>&lt;P&gt;Thanks Steve. &amp;nbsp;Yes, /check:bounds option was being used. &amp;nbsp;Now I have a workaround.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2015 16:02:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Parameterized-derived-type-with-type-bound-procedure-unexpected/m-p/1029520#M110216</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2015-03-02T16:02:50Z</dc:date>
    </item>
    <item>
      <title>I expect this to be fixed in</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Parameterized-derived-type-with-type-bound-procedure-unexpected/m-p/1029521#M110217</link>
      <description>&lt;P&gt;I expect this to be fixed in Update 3, due in May.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2015 19:00:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Parameterized-derived-type-with-type-bound-procedure-unexpected/m-p/1029521#M110217</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2015-03-24T19:00:07Z</dc:date>
    </item>
  </channel>
</rss>

