------- Comment #6 from sabre at nondot dot org  2005-12-20 21:47 -------
Re: comment #5:

That is a similar testcase, but not an identical one.  A better one would be
something like:

void foo() {
  if (...) {
     std::pair<int, int> = ..
     ...
  }
  if (...) {
     std::pair<int, int> = ..
     ...
  }
  if (...) {
     std::pair<int, int> = ..
     ...
  }
}

Further, a huge amount of the wastage appears to be coming from C++
temporaries, not explicit variable definitions.

-Chris


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25505

Reply via email to