<?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 Re: /warn documentation in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/warn-documentation/m-p/1634590#M173827</link>
    <description>&lt;P&gt;Hi Ron, thank you for your quick and thorough response. It would be nice if the /warn:ignore_bounds documentation could be updated (removed) if it turns out not to exist.&lt;/P&gt;&lt;P&gt;And good to know that ignore_loc turns on the warning, your explanation makes sense.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2024 06:58:47 GMT</pubDate>
    <dc:creator>HarmenW</dc:creator>
    <dc:date>2024-10-02T06:58:47Z</dc:date>
    <item>
      <title>/warn documentation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/warn-documentation/m-p/1634424#M173820</link>
      <description>&lt;P&gt;I have three questions regarding the following documentation&amp;nbsp;&lt;A href="https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2024-2/warn.html" target="_self"&gt;https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2024-2/warn.html.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The&amp;nbsp;&lt;SPAN&gt;[no]ignore_bounds option is listed here. It is not listed in the command line help (ifort /help or ifx /help), and when I use /warn:ignore_bounds I receive "command line error: Unrecognized keyword 'ignore_bounds' for option '/warn'." Does this option exist, or is it only a /check option?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;[no]ignore_loc is described as "Determines whether warnings occur when %LOC is stripped from an actual argument." Could someone provide a code sample that will trigger this warning?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Does noignore_loc mean that it will warn or that it will not warn? The description says that "No warnings are issued when %LOC is stripped from an argument", but this is inconsistent with the description for&amp;nbsp;noignore_bounds, which says "The compiler checks array references with constant subscripts and warns if the reference is to an element outside the declared bounds of the array."&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 01 Oct 2024 15:21:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/warn-documentation/m-p/1634424#M173820</guid>
      <dc:creator>HarmenW</dc:creator>
      <dc:date>2024-10-01T15:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: /warn documentation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/warn-documentation/m-p/1634453#M173821</link>
      <description>&lt;P&gt;I'll have to check on ignore_bounds.&amp;nbsp; Could be a leftover from Digital days or before we moved bounds checking to runtime checks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options or keywords with "no" are the negation of the option or keyword.&amp;nbsp; if the option is ignoring something, this says to not ignore it.&amp;nbsp; This is a long-standing practice for our compiler options.&lt;/P&gt;
&lt;P&gt;In the case of ignore_loc, the wording of the keyword ignore_loc is less than ideal.&amp;nbsp; ignore_loc is really saying that if the compiler is stripping the %LOC from an argument list, give us a warning.&amp;nbsp; no is the opposite, which is to say silently strip the %LOC and don't warn us about it.&amp;nbsp; If I read this correctly.&amp;nbsp; &amp;nbsp;I'll have to research this one.&amp;nbsp; I am sure it is from the days when mixed language programming would have to pass the address of an object instead of the object - in the dark days before ISO_C_BINDING, using %LOC.&amp;nbsp; I'm sure there is still a lot of legacy code doing this and worse.&amp;nbsp; I will have to dig up the origin of this warning.&amp;nbsp; I am sure there was some use case where it was necessary.&amp;nbsp; Unfortunately the background story on this warning may only exist in the memories held by our retirees.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 17:47:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/warn-documentation/m-p/1634453#M173821</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2024-10-01T17:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: /warn documentation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/warn-documentation/m-p/1634590#M173827</link>
      <description>&lt;P&gt;Hi Ron, thank you for your quick and thorough response. It would be nice if the /warn:ignore_bounds documentation could be updated (removed) if it turns out not to exist.&lt;/P&gt;&lt;P&gt;And good to know that ignore_loc turns on the warning, your explanation makes sense.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 06:58:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/warn-documentation/m-p/1634590#M173827</guid>
      <dc:creator>HarmenW</dc:creator>
      <dc:date>2024-10-02T06:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: /warn documentation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/warn-documentation/m-p/1634969#M173834</link>
      <description>&lt;P&gt;I had a look at ignore_bounds and compile time bounds checking.&amp;nbsp; It is still in the compiler and active.&amp;nbsp; So it appears our driver, named ifx, may have a bug.&amp;nbsp; The developer for the ifx driver is out on vacation this past week.&amp;nbsp; I will contact him and get this bug addressed.&amp;nbsp; The documentation is correct, the compiler is able to handle it, it's just that the driver is not accepting the option/keyword pair.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 16:06:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/warn-documentation/m-p/1634969#M173834</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2024-10-03T16:06:51Z</dc:date>
    </item>
  </channel>
</rss>

