<?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 An internal compiler error is in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Constructors-for-Parametrized-Derived-Types/m-p/1130977#M134306</link>
    <description>&lt;P&gt;An internal compiler error is ALWAYS a compiler bug. That said, you are using a three-year-old compiler and your first example compiles successfully with the current version 18 compiler.&lt;/P&gt;

&lt;P&gt;The second example is not valid Fortran.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2017 14:43:18 GMT</pubDate>
    <dc:creator>Steve_Lionel</dc:creator>
    <dc:date>2017-09-26T14:43:18Z</dc:date>
    <item>
      <title>Constructors for Parametrized Derived Types</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Constructors-for-Parametrized-Derived-Types/m-p/1130976#M134305</link>
      <description>&lt;P&gt;In my attempt to use a parametrized derived type by initialization, I received a "Internal Compiler Error". Before filling in a software problem report, I want to ask&amp;nbsp;may there be something wrong about below code snippet and the related behavior:&lt;/P&gt;

&lt;PRE class="brush:;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type :: flexible_data (k)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; integer, len :: k
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; character(len=26),dimension(k) :: variable_size_array
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end type

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type(flexible_data(3)) :: FlexData1 = flexible_data(3)(['XYZ','YZX','ZXY'])
&lt;/PRE&gt;

&lt;P&gt;The compiler outputs the following error: ("Compiling with Intel(R) Visual Fortran Compiler XE 15.0.4.221 [IA-32]")&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;1&amp;gt;catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report.&amp;nbsp; Note: File and line given may not be explicit cause of this error.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;If&amp;nbsp;I change the length of character to 25 (I am especially using 25 and 26 in order to express the problem; actually which I don't expect to be special numbers), the compilation succeeds without error. However the code snippet above seems to be compatible with specifications in&amp;nbsp;&lt;A href="https://software.intel.com/en-us/node/678531"&gt;https://software.intel.com/en-us/node/678531.&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Furthermore If I attempt to use below line instead of the above initialization (considering examples at &lt;A href="https://software.intel.com/en-us/node/678530"&gt;https://software.intel.com/en-us/node/678530&lt;/A&gt;):&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type(flexible_data(:)), pointer:: FlexData1 = flexible_data(3)(['XYZ','YZX','ZXY'])&lt;/PRE&gt;

&lt;P&gt;Regardless of the length of the character in definition, the compiler outputs&amp;nbsp;again the&amp;nbsp;"Internal Compiler Error".&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 07:29:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Constructors-for-Parametrized-Derived-Types/m-p/1130976#M134305</guid>
      <dc:creator>Burcin_S_</dc:creator>
      <dc:date>2017-09-26T07:29:42Z</dc:date>
    </item>
    <item>
      <title>An internal compiler error is</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Constructors-for-Parametrized-Derived-Types/m-p/1130977#M134306</link>
      <description>&lt;P&gt;An internal compiler error is ALWAYS a compiler bug. That said, you are using a three-year-old compiler and your first example compiles successfully with the current version 18 compiler.&lt;/P&gt;

&lt;P&gt;The second example is not valid Fortran.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 14:43:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Constructors-for-Parametrized-Derived-Types/m-p/1130977#M134306</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2017-09-26T14:43:18Z</dc:date>
    </item>
  </channel>
</rss>

