<?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 internal compiler error when initializing type extended from em in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/internal-compiler-error-when-initializing-type-extended-from/m-p/798930#M36704</link>
    <description>This is expected to be fixed in the next major release of the compiler, scheduled for November.</description>
    <pubDate>Mon, 27 Sep 2010 18:26:16 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2010-09-27T18:26:16Z</dc:date>
    <item>
      <title>internal compiler error when initializing type extended from empty user defined type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/internal-compiler-error-when-initializing-type-extended-from/m-p/798928#M36702</link>
      <description>&lt;DIV&gt;&lt;PRE&gt;[fortran]program C2
    type t
    end type t
    
    type, extends (t) :: t1
        integer :: i    
    end type t1
    
    type(t1) :: b = t1(5)
    
end program C2[/fortran]&lt;/PRE&gt; &lt;/DIV&gt;&lt;DIV&gt;Compiling with Intel Visual Fortran 11.1.065 [IA-32]...&lt;/DIV&gt;&lt;DIV&gt;sandbox.f90&lt;/DIV&gt;&lt;DIV&gt;fortcom: Fatal: There has been an internal compiler error (C0000005).&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;This doesn't seem to violate the restrictions on empty types called out in the release notes. The internal compiler error goes away if the base type is not empty and the structure constructor contains an initializer for it.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;3.5.4 Limited Support for Empty Derived Types&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Fortran 2003 adds the ability to declare a derived type with no data components. The Intel&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;compiler has limited support for these in the current release. These limitations will be lifted in a&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;future release of the compiler. The limitations are as follows:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;When an object of derived type is declared, the type must have at least one data&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;component. Extending an empty type is supported. For example:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;type t&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;end type&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;type, extends (t) :: t1&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;end type&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;type, extends (t1) :: t2&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;integer i&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;end type&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;type, extends (t2) :: t3&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;end type&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;type (t) :: rec1 ! Not supported, type t is empty&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;type (t1) :: rec2 ! Not supported, type t1 is empty&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;type (t2) :: rec3 ! Supported, type t2 is not empty&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;type (t3) :: rec4 ! Supported, type t3 is not empty&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Jun 2010 06:48:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/internal-compiler-error-when-initializing-type-extended-from/m-p/798928#M36702</guid>
      <dc:creator>joseph_battelle</dc:creator>
      <dc:date>2010-06-15T06:48:35Z</dc:date>
    </item>
    <item>
      <title>internal compiler error when initializing type extended from em</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/internal-compiler-error-when-initializing-type-extended-from/m-p/798929#M36703</link>
      <description>Thanks. I can reproduce this and will report it to the developers. Issue ID is DPD200156821.</description>
      <pubDate>Tue, 15 Jun 2010 14:04:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/internal-compiler-error-when-initializing-type-extended-from/m-p/798929#M36703</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-06-15T14:04:51Z</dc:date>
    </item>
    <item>
      <title>internal compiler error when initializing type extended from em</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/internal-compiler-error-when-initializing-type-extended-from/m-p/798930#M36704</link>
      <description>This is expected to be fixed in the next major release of the compiler, scheduled for November.</description>
      <pubDate>Mon, 27 Sep 2010 18:26:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/internal-compiler-error-when-initializing-type-extended-from/m-p/798930#M36704</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-09-27T18:26:16Z</dc:date>
    </item>
  </channel>
</rss>

