<?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 Feature request: warn about string concatenation not contributi in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Feature-request-warn-about-string-concatenation-not-contributing/m-p/774459#M24281</link>
    <description>Excellent; thanks.</description>
    <pubDate>Thu, 12 Jul 2012 14:34:12 GMT</pubDate>
    <dc:creator>w_l_kleb</dc:creator>
    <dc:date>2012-07-12T14:34:12Z</dc:date>
    <item>
      <title>Feature request: warn about string concatenation not contributing</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Feature-request-warn-about-string-concatenation-not-contributing/m-p/774456#M24278</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'd like to see the Fortran Intel compiler at least give a warning if a string concatenation does not contribute to the result, viz,&lt;BR /&gt;&lt;BR /&gt;% cat &amp;gt; non_contributing.f90 &amp;lt;&amp;lt; EOF&lt;BR /&gt;program non_contributing&lt;BR /&gt; character(10) :: command&lt;BR /&gt; character(100) :: middle = 'begin'&lt;BR /&gt; command = middle//'end'&lt;BR /&gt; print*,command&lt;BR /&gt;end program&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;% ifort --version | head -1&lt;BR /&gt;ifort (IFORT) 12.1.3 20120212&lt;BR /&gt;&lt;BR /&gt;% ifort -c -warn -check non_contributing.f90 &lt;BR /&gt;[no complaints]&lt;BR /&gt;&lt;BR /&gt;It's antecedent does:&lt;BR /&gt;&lt;BR /&gt;alpha% fort -what&lt;BR /&gt; Compaq Fortran V1.2.0-1882&lt;BR /&gt; Compaq Fortran Compiler V1.2.0-1882-48BBF&lt;BR /&gt;&lt;BR /&gt;alpha% fort -c non_contributing.f90 &lt;BR /&gt;f90: Warning: non_contributing.f90, line 4: Expression does not contribute to result&lt;BR /&gt; command = middle//'end'&lt;BR /&gt;------------------^&lt;BR /&gt;&lt;BR /&gt;Thanks for consideration,&lt;BR /&gt;--&lt;BR /&gt;Bil, 757.812.1805</description>
      <pubDate>Thu, 12 Jul 2012 11:51:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Feature-request-warn-about-string-concatenation-not-contributing/m-p/774456#M24278</guid>
      <dc:creator>w_l_kleb</dc:creator>
      <dc:date>2012-07-12T11:51:09Z</dc:date>
    </item>
    <item>
      <title>Feature request: warn about string concatenation not contributi</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Feature-request-warn-about-string-concatenation-not-contributing/m-p/774457#M24279</link>
      <description>And so does gfortran:&lt;BR /&gt;&lt;BR /&gt;% gfortran --version | head -1&lt;BR /&gt;GNU Fortran (GCC) 4.6.2 20111019 (prerelease)&lt;BR /&gt;&lt;BR /&gt;% gfortran -c -Wall non_contributing.f90 non_contributing.f90:4.25:&lt;BR /&gt;&lt;BR /&gt; command = middle//'end'&lt;BR /&gt; 1&lt;BR /&gt;Warning: CHARACTER expression will be truncated in assignment (10/103) at (1)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jul 2012 12:09:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Feature-request-warn-about-string-concatenation-not-contributing/m-p/774457#M24279</guid>
      <dc:creator>w_l_kleb</dc:creator>
      <dc:date>2012-07-12T12:09:56Z</dc:date>
    </item>
    <item>
      <title>Feature request: warn about string concatenation not contributi</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Feature-request-warn-about-string-concatenation-not-contributing/m-p/774458#M24280</link>
      <description>Thanks for the suggestion. I know that DEC/Compaq Fortran did give such a warning. I have entered a feature request for you, the ID is DPD200234070.</description>
      <pubDate>Thu, 12 Jul 2012 13:30:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Feature-request-warn-about-string-concatenation-not-contributing/m-p/774458#M24280</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-07-12T13:30:37Z</dc:date>
    </item>
    <item>
      <title>Feature request: warn about string concatenation not contributi</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Feature-request-warn-about-string-concatenation-not-contributing/m-p/774459#M24281</link>
      <description>Excellent; thanks.</description>
      <pubDate>Thu, 12 Jul 2012 14:34:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Feature-request-warn-about-string-concatenation-not-contributing/m-p/774459#M24281</guid>
      <dc:creator>w_l_kleb</dc:creator>
      <dc:date>2012-07-12T14:34:12Z</dc:date>
    </item>
  </channel>
</rss>

