title: <anonymous> is used uninitialized in this function g++ 4.4
body: <p>While compiling with g++ 4.4, I am encountering this compilation error.</p>
  
  <pre><code>struct Class
  {
      Class() { }
      void Method() const;
  };
  
  void f(); // undefined
  
  void g( Class x ) // pass by value
  {
      f();        // call undefined function
      x.Method(); // call method on parameter
  }
  
  void h()
  {
      Class x;
      g( x );
  }
  </code></pre>
  
  <p>While compiling using these flag:</p>
  
  <p>g++ -Wuninitialized -O3 -c -o a.out test.cpp</p>
  
  <p>test.cpp:22: warning: "anonymous" is used uninitialized in this function</p>
  
  <p>And this is only encountered with g++ version 4.4.</p>
  
  <p>Could anyone please suggest what is wrong?</p>