title: Is there a gcc flag to initialise local variable storage?
body: <p>The IBM AIX <code>xlc</code> compiler offers a flag that generates code to initialise local variable storage:</p>
  
  <pre><code>      initauto=&lt;hh&gt;
                    Initialialize automatic storage to &lt;hh&gt;. &lt;hh&gt; is a
                    hexadecimal value.  This generates extra code and
                    should only be used for error determination.
  </code></pre>
  
  <p>I think the MSVC compiler does something similar for debug builds, but my memory may be hazy on this point.</p>
  
  <p>Is there an equivalent option for GCC?</p>