title: value optimized out on segmentation fault
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2273777/is-value-optimized-out-in-gdb-a-problem">Is &lt;value optimized out&gt; in gdb a problem?</a>  </p>
  </blockquote>
  
  
  
  <p>Hi,</p>
  
  <p>I am still learning advanced c++ programming. I am getting segmentation fault in my C++ code. While using gdb, the point of failure is during de-allocation with one of the parameters to the de-allocator(malloc) is a value that is optimized out(av=value optimized out). My question is, does this condition(value optmized out) leads to a segmentation fault in the de-allocator? The reason why I ask this is since I am able to print the values, but gdb is not able to read them for some reason. </p>
  
  <p>Thanks.</p>