<?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: Safest Compile options in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Safest-Compile-options/m-p/946656#M18439</link>
    <description>The code you have posted won't compile - ignoring the typo (unless you specify non-default options such as /iface:cref).  You call routine TWO with two arguments, but it takes only one.  What does your code REALLY look like?&lt;BR /&gt;&lt;BR /&gt;I suggest you send a ZIP file of a project that demonstrates the problem to us at vf-support@compaq.com, and we'll be glad to take a look.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
    <pubDate>Fri, 13 Apr 2001 02:36:37 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2001-04-13T02:36:37Z</dc:date>
    <item>
      <title>Safest Compile options</title>
      <link>https://community.intel.com/t5/Software-Archive/Safest-Compile-options/m-p/946653#M18436</link>
      <description>I have program that I am compiling which is fairly large.  The program stores integers and floats in a single array.  So, I pass float into subroutines and recieve as integer.  &lt;BR /&gt;  &lt;BR /&gt;I am debugging a problem where integer is passed into a subroutine.  The integer is changed.  Then the returned integer is clobbered.  &lt;BR /&gt;  &lt;BR /&gt;I would like to try the safest compile options but I am not sure about the combinations.  &lt;BR /&gt;  &lt;BR /&gt;I Compile with:  &lt;BR /&gt;/debug:full /nooptimize   &lt;BR /&gt;  &lt;BR /&gt;And I link with:  &lt;BR /&gt;  &lt;BR /&gt;/debug machine:386  &lt;BR /&gt;  &lt;BR /&gt;I thought about /static but that seems to be on be default.  &lt;BR /&gt;Also, is there a flag to print all the defaults?  &lt;BR /&gt;  &lt;BR /&gt;Rudy</description>
      <pubDate>Thu, 12 Apr 2001 02:56:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Safest-Compile-options/m-p/946653#M18436</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-04-12T02:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Safest Compile options</title>
      <link>https://community.intel.com/t5/Software-Archive/Safest-Compile-options/m-p/946654#M18437</link>
      <description>I don't think compiler options are going to help you.  You may be done in by the X86 processor's use of extended precision registers that can modify the value of things typed as REAL.  You wouldn't notice this (usually) if everything was REAL, but if you have integers pretending to be reals, you'll get into trouble quickly.&lt;BR /&gt;&lt;BR /&gt;I don't know what you mean by "the returned integer is clobbered" &lt;BR /&gt;&lt;BR /&gt;Generate a source listing to see what options are used.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Thu, 12 Apr 2001 04:10:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Safest-Compile-options/m-p/946654#M18437</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-04-12T04:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Safest Compile options</title>
      <link>https://community.intel.com/t5/Software-Archive/Safest-Compile-options/m-p/946655#M18438</link>
      <description>here's the example:  &lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="+1"&gt;&lt;PRE&gt;
subroutine one(n1,n2,n3,n4)  
n1=0  
call two (n1,n2)  
print *,n1     gives n1="5836598" n1 is clobbered  
return  
end  
subrroutine two(n1)  
n1=n1+0  
print *,n1   gives n1="0"  asexpected  
return  
end
&lt;/PRE&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 12 Apr 2001 07:46:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Safest-Compile-options/m-p/946655#M18438</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-04-12T07:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Safest Compile options</title>
      <link>https://community.intel.com/t5/Software-Archive/Safest-Compile-options/m-p/946656#M18439</link>
      <description>The code you have posted won't compile - ignoring the typo (unless you specify non-default options such as /iface:cref).  You call routine TWO with two arguments, but it takes only one.  What does your code REALLY look like?&lt;BR /&gt;&lt;BR /&gt;I suggest you send a ZIP file of a project that demonstrates the problem to us at vf-support@compaq.com, and we'll be glad to take a look.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 13 Apr 2001 02:36:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Safest-Compile-options/m-p/946656#M18439</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-04-13T02:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Safest Compile options</title>
      <link>https://community.intel.com/t5/Software-Archive/Safest-Compile-options/m-p/946657#M18440</link>
      <description>thanks for the offer.  I have things working now.  The code is too large to send and have you be able to make sense out of it.  Also, I use makefiles.  I don't hvae the swing of progects yet. &lt;BR /&gt; &lt;BR /&gt;Rudy</description>
      <pubDate>Wed, 18 Apr 2001 06:19:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Safest-Compile-options/m-p/946657#M18440</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-04-18T06:19:03Z</dc:date>
    </item>
  </channel>
</rss>

