title: Inlining or identical code
body: <p>How I can setup the compiler to generate identical code? For <strong>example</strong>:</p>
  
  <pre><code>inline bool iszero(int a)
  {
      return (a == 0);
  }
  
  int main()
  {
      int a = 4;
  
      if(a == 0) // First
          a = 5;
  
      if(iszero(a)) // Second
          a = 5;
  
      ///...
  }
  </code></pre>
  
  <p>In debug mode (with inlining) disassembled code look like:</p>
  
  <pre><code>if(a == 0) // First
       a = 5;
  
  bool temp; // Second
  if(a == 0)
      temp = 0;
  else
      temp = 1;
  
  if(temp == 0)
      a = 5;
  </code></pre>
  
  <p>Why that happens?</p>
  
  <p>Why this question has been asked? I need to debug my application with inlining functions (<strong>for speed up debug</strong>) and I do not want to <strong>lose performance</strong> in debug mode.</p>