<?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 Automatic initialization of numeric variables? in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-initialization-of-numeric-variables/m-p/765189#M19740</link>
    <description>The compiler offers run-time errors for uses of uninitialized local variables through /check:uninit. It has some limitations.&lt;BR /&gt;&lt;BR /&gt;/Qtrapuv, in its current implementation, does nothing useful.</description>
    <pubDate>Tue, 14 Dec 2010 15:45:27 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2010-12-14T15:45:27Z</dc:date>
    <item>
      <title>Automatic initialization of numeric variables?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-initialization-of-numeric-variables/m-p/765186#M19737</link>
      <description>Does Intel Fortran have a compiler option that forces static numeric variables to be initialised to zero?&lt;BR /&gt;&lt;BR /&gt;I have seen the /Qzero and /Qtrapuv options. However, they don't seem to fit the bill.&lt;BR /&gt;&lt;BR /&gt;Alternatively, is there an option to cause warning to be produced if a variable is used without having been initialised? I can understand that C compilers can do this because goto is rare in C. I'm not sure whether such a warning is possible in Fortran where goto might be present.&lt;BR /&gt;&lt;BR /&gt;Thanks for your attention.&lt;BR /&gt;&lt;BR /&gt;Leigh.</description>
      <pubDate>Tue, 14 Dec 2010 13:33:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-initialization-of-numeric-variables/m-p/765186#M19737</guid>
      <dc:creator>Leigh</dc:creator>
      <dc:date>2010-12-14T13:33:08Z</dc:date>
    </item>
    <item>
      <title>Automatic initialization of numeric variables?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-initialization-of-numeric-variables/m-p/765187#M19738</link>
      <description>&lt;DIV&gt;Hi Leigh,&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;I think that you have to also use the /Qsave option (save local variables in static allocation ) with the /Qzero option. However you did not mention which version of the compiler you are using.&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;Concerning the use of local, uninitialized variables, the compiler shouldnormally give you some warning message.&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;Phil.&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Dec 2010 14:20:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-initialization-of-numeric-variables/m-p/765187#M19738</guid>
      <dc:creator>netphilou31</dc:creator>
      <dc:date>2010-12-14T14:20:53Z</dc:date>
    </item>
    <item>
      <title>Automatic initialization of numeric variables?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-initialization-of-numeric-variables/m-p/765188#M19739</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The version is 2011.0.14.&lt;BR /&gt;&lt;BR /&gt;I should also say that the body of code I am working on is legacy code. These variables are also at the program level. Does /Qsave have an effect on those.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Leigh.</description>
      <pubDate>Tue, 14 Dec 2010 14:26:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-initialization-of-numeric-variables/m-p/765188#M19739</guid>
      <dc:creator>Leigh</dc:creator>
      <dc:date>2010-12-14T14:26:32Z</dc:date>
    </item>
    <item>
      <title>Automatic initialization of numeric variables?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-initialization-of-numeric-variables/m-p/765189#M19740</link>
      <description>The compiler offers run-time errors for uses of uninitialized local variables through /check:uninit. It has some limitations.&lt;BR /&gt;&lt;BR /&gt;/Qtrapuv, in its current implementation, does nothing useful.</description>
      <pubDate>Tue, 14 Dec 2010 15:45:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Automatic-initialization-of-numeric-variables/m-p/765189#M19740</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-12-14T15:45:27Z</dc:date>
    </item>
  </channel>
</rss>

