<?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've found that this also in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/One-more-structure-constructor-error/m-p/970682#M97081</link>
    <description>&lt;P&gt;I've found that this also occurs with certain intrinsics as the argument, e.g. "spread".&lt;/P&gt;</description>
    <pubDate>Fri, 04 Apr 2014 17:23:51 GMT</pubDate>
    <dc:creator>Sean_S_2</dc:creator>
    <dc:date>2014-04-04T17:23:51Z</dc:date>
    <item>
      <title>One more structure constructor error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/One-more-structure-constructor-error/m-p/970680#M97079</link>
      <description>&lt;P&gt;If you try to use a structure constructor to construct a type that extends from some other type, and you have an array section argument, you get an error like the following:&lt;/P&gt;
&lt;P&gt;test_section_constructor.F90(18): error #6593: The number of expressions in a structure constructor differs from the number of components of the derived type&amp;nbsp;&amp;nbsp; [FOO]&lt;BR /&gt;b = foo(a2(:,1)) ! Spurious error&lt;BR /&gt;----^&lt;BR /&gt;compilation aborted for test_section_constructor.F90 (code 1)&lt;/P&gt;
&lt;P&gt;This happens even when you only have one component and one argument to the structure constructor.&lt;/P&gt;
&lt;P&gt;Here's the full test case:&lt;/P&gt;&lt;PRE class="brush:fortran;"&gt;program test_section_constructor

implicit none

type, abstract :: foo_base
end type foo_base

type, extends(foo_base) :: foo
   integer, allocatable :: a(:)
end type foo

type(foo) :: b

integer :: a1(2) = 0
integer :: a2(2,2) = 0

b = foo(a1)      ! OK
b = foo(a2(:,1)) ! Spurious error

end program test_section_constructor
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2014 23:59:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/One-more-structure-constructor-error/m-p/970680#M97079</guid>
      <dc:creator>Sean_S_2</dc:creator>
      <dc:date>2014-04-03T23:59:53Z</dc:date>
    </item>
    <item>
      <title>I reproduced this error and</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/One-more-structure-constructor-error/m-p/970681#M97080</link>
      <description>&lt;P&gt;I reproduced this error and forwarded to Development (under internal tracking id below) and will update the post regarding a fix.&lt;/P&gt;
&lt;P&gt;(Internal tracking id: DPD200255191)&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 07:53:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/One-more-structure-constructor-error/m-p/970681#M97080</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-04-04T07:53:11Z</dc:date>
    </item>
    <item>
      <title>I've found that this also</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/One-more-structure-constructor-error/m-p/970682#M97081</link>
      <description>&lt;P&gt;I've found that this also occurs with certain intrinsics as the argument, e.g. "spread".&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 17:23:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/One-more-structure-constructor-error/m-p/970682#M97081</guid>
      <dc:creator>Sean_S_2</dc:creator>
      <dc:date>2014-04-04T17:23:51Z</dc:date>
    </item>
    <item>
      <title>Ok, thank you for the new</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/One-more-structure-constructor-error/m-p/970683#M97082</link>
      <description>&lt;P&gt;Ok, thank you for the new info. I added a note to the Developers regarding that.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 18:30:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/One-more-structure-constructor-error/m-p/970683#M97082</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-04-04T18:30:16Z</dc:date>
    </item>
    <item>
      <title>It seems that this was</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/One-more-structure-constructor-error/m-p/970684#M97083</link>
      <description>&lt;P&gt;It seems that this was addressed in 15.0.0&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2014 17:42:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/One-more-structure-constructor-error/m-p/970684#M97083</guid>
      <dc:creator>Sean_S_2</dc:creator>
      <dc:date>2014-10-01T17:42:24Z</dc:date>
    </item>
  </channel>
</rss>

