<?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 Thank you Pelle. I confirmed in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/PSXE-2017-Update-2-Internal-Compiler-Error-s-involving-PARAMETER/m-p/1113555#M129744</link>
    <description>&lt;P&gt;Thank you Pelle. I confirmed this and informed our Developers. Our apologies this case was also not fixed.&lt;/P&gt;

&lt;P&gt;(Internal tracking id: CMPLRS-43068)&lt;/P&gt;</description>
    <pubDate>Tue, 16 May 2017 15:56:01 GMT</pubDate>
    <dc:creator>Kevin_D_Intel</dc:creator>
    <dc:date>2017-05-16T15:56:01Z</dc:date>
    <item>
      <title>PSXE 2017 Update 2 - Internal Compiler Error(s) involving PARAMETER constants and /debug-parameters /debug options</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/PSXE-2017-Update-2-Internal-Compiler-Error-s-involving-PARAMETER/m-p/1113549#M129738</link>
      <description>&lt;P&gt;&lt;STRONG&gt;PSXE 2017 Update 2 - Internal Compiler Error(s) involving PARAMETER constants and /debug-parameters /debug options&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;A defect (regression) has been found in the Intel® Parallel Studio XE 2017 Update 2 (17.0 compiler) release involving the use of PARAMETER constants along with the &lt;STRONG&gt;/debug-parameter &lt;/STRONG&gt;and &lt;STRONG&gt;/debug &lt;/STRONG&gt;options. The combined use can led to multiple internal compiler errors.&lt;/P&gt;

&lt;P&gt;The following example (complements of andrew_4619) demonstrates usage that will trigger the internal error:&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;module ice
&amp;nbsp;&amp;nbsp;&amp;nbsp; implicit none
&amp;nbsp;&amp;nbsp;&amp;nbsp; integer, parameter :: ld=82&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; contains
&amp;nbsp;&amp;nbsp;&amp;nbsp; subroutine thingy 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call bob(ld)
&amp;nbsp;&amp;nbsp;&amp;nbsp; end subroutine thingy 
&amp;nbsp;&amp;nbsp;&amp;nbsp; subroutine bob(I)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; integer,intent(in) :: I
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print *, I
&amp;nbsp;&amp;nbsp;&amp;nbsp; end subroutine bob
end module ice&lt;/PRE&gt;

&lt;P&gt;Users may experience several internal errors during a build attempt for the Debug configuration under Visual Studio where it is common to have &lt;STRONG&gt;/debug-parameter&lt;/STRONG&gt; and &lt;STRONG&gt;/debug&lt;/STRONG&gt; options enabled simultaneously.&lt;/P&gt;

&lt;P&gt;Users can work around the defect by either:&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;Under Visual Studio, disabling the &lt;STRONG&gt;/debug-parameters &lt;/STRONG&gt;option under: &lt;STRONG&gt;Properties &amp;gt; Fortran &amp;gt; Debugging &amp;gt; Information for PARAMETER Constants&lt;/STRONG&gt; set to &lt;EM&gt;None&lt;/EM&gt;&lt;/LI&gt;
	&lt;LI&gt;Under Visual Studio, using only minimal &lt;STRONG&gt;/debug &lt;/STRONG&gt;information (i.e. &lt;STRONG&gt;Properties &amp;gt; Fortran &amp;gt; Debugging &amp;gt; Information &lt;/STRONG&gt;set to &lt;EM&gt;Line Numbers Only&lt;/EM&gt;) with any setting for &lt;STRONG&gt;/debug-parameters &lt;/STRONG&gt;(see the property setting in #1 above).&lt;/LI&gt;
	&lt;LI&gt;On the compiler command-line, removing all occurrences of the &lt;STRONG&gt;/debug-parameters &lt;/STRONG&gt;from compiler command-line or within application build scripts when using &lt;STRONG&gt;/debug:full&lt;/STRONG&gt;&lt;/LI&gt;
	&lt;LI&gt;On the compiler command-line, using &lt;STRONG&gt;/debug:minimal &lt;/STRONG&gt;with any setting for &lt;STRONG&gt;/debug-parameters &lt;/STRONG&gt;on the compiler command-line or within application build scripts.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;The internal tracking id for this defect is: DPD200418283.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;(Resolution Update on 05/12/2017): &lt;/STRONG&gt;This defect is fixed in the Intel® Parallel Studio XE 2017 Update 4 release (ifort Version 17.0.4.210 Build 20170428 - PSXE 2017.4.051 / CnL 2017.4.210 - Windows)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 17:22:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/PSXE-2017-Update-2-Internal-Compiler-Error-s-involving-PARAMETER/m-p/1113549#M129738</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2017-03-07T17:22:20Z</dc:date>
    </item>
    <item>
      <title>Greetings,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/PSXE-2017-Update-2-Internal-Compiler-Error-s-involving-PARAMETER/m-p/1113550#M129739</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I was debugging some code and tried to right-click on a PARAMETER constant to use QuickWatch to see its value.&amp;nbsp; It showed as UNDEFINED, but each case I try that acts this way, seems to evaluate correctly.&amp;nbsp; I am using IVF 2017, update 2, and FULL debug mode.&amp;nbsp; Am I supposed to be able to QuickWatch PARAMETER constants or is this perhaps a symptom of the issue mentioned above?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you in advance.&lt;/P&gt;

&lt;P&gt;Take Care,&lt;/P&gt;

&lt;P&gt;Lee Benjamin&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 20:54:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/PSXE-2017-Update-2-Internal-Compiler-Error-s-involving-PARAMETER/m-p/1113550#M129739</guid>
      <dc:creator>Lee_B_3</dc:creator>
      <dc:date>2017-04-04T20:54:00Z</dc:date>
    </item>
    <item>
      <title>If you disable (or set to</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/PSXE-2017-Update-2-Internal-Compiler-Error-s-involving-PARAMETER/m-p/1113551#M129740</link>
      <description>&lt;P&gt;If you disable (or set to None) the specific debugging aid for PARAMETERS as noted in item #1 of the original post then under the debugger you will see Undefined for parameter constants.&lt;/P&gt;

&lt;P&gt;If you do not have the type of use shown in the example that triggers the internal error then you can enable the setting in item #1 and be able to view a parameter constant's value via QuickWatch as shown below.&lt;/P&gt;

&lt;P&gt;&lt;IMG width="823" height="353" style="width: 690px;" alt="" src="https://community.intel.com/file/544353/download" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 11:36:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/PSXE-2017-Update-2-Internal-Compiler-Error-s-involving-PARAMETER/m-p/1113551#M129740</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2017-04-05T11:36:20Z</dc:date>
    </item>
    <item>
      <title>PSXE2017 update 4 solves the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/PSXE-2017-Update-2-Internal-Compiler-Error-s-involving-PARAMETER/m-p/1113552#M129741</link>
      <description>&lt;P&gt;PSXE2017 update 4 solves the ICE problem for me. Hooray!&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 08:04:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/PSXE-2017-Update-2-Internal-Compiler-Error-s-involving-PARAMETER/m-p/1113552#M129741</guid>
      <dc:creator>Johannes_Rieke</dc:creator>
      <dc:date>2017-05-12T08:04:09Z</dc:date>
    </item>
    <item>
      <title>Yes, PSXE 2017 Update 4</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/PSXE-2017-Update-2-Internal-Compiler-Error-s-involving-PARAMETER/m-p/1113553#M129742</link>
      <description>&lt;P&gt;Yes, PSXE 2017 Update 4 contains the fix for this issue.&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 09:04:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/PSXE-2017-Update-2-Internal-Compiler-Error-s-involving-PARAMETER/m-p/1113553#M129742</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2017-05-12T09:04:36Z</dc:date>
    </item>
    <item>
      <title>While the sample code from</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/PSXE-2017-Update-2-Internal-Compiler-Error-s-involving-PARAMETER/m-p/1113554#M129743</link>
      <description>&lt;P&gt;While the sample code from the OP does compile using ifort 17.0.4.210, below code (same code, but character constant instead of integer) still does not:&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;module ice
    implicit none
    character, parameter :: ld = 'c'
    contains
    subroutine thingy
        call bob(ld)
    end subroutine thingy
    subroutine bob(I)
        character, intent(in) :: I
        print *, I
    end subroutine bob
end module ice&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 14:26:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/PSXE-2017-Update-2-Internal-Compiler-Error-s-involving-PARAMETER/m-p/1113554#M129743</guid>
      <dc:creator>Pelle_R_</dc:creator>
      <dc:date>2017-05-16T14:26:24Z</dc:date>
    </item>
    <item>
      <title>Thank you Pelle. I confirmed</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/PSXE-2017-Update-2-Internal-Compiler-Error-s-involving-PARAMETER/m-p/1113555#M129744</link>
      <description>&lt;P&gt;Thank you Pelle. I confirmed this and informed our Developers. Our apologies this case was also not fixed.&lt;/P&gt;

&lt;P&gt;(Internal tracking id: CMPLRS-43068)&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 15:56:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/PSXE-2017-Update-2-Internal-Compiler-Error-s-involving-PARAMETER/m-p/1113555#M129744</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2017-05-16T15:56:01Z</dc:date>
    </item>
  </channel>
</rss>

