------- Comment #9 from hjl dot tools at gmail dot com  2008-12-10 22:44 -------
testsuite/util/regression/rand/assoc/container_rand_regression_test.tcc has

      value_type v = test_traits::generate_value(m_g, m_m);
      m_alloc.set_throw_prob(m_tp);
      const_key_reference r_k = test_traits::extract_key(v);
      typename cntnr::const_point_iterator found_it = m_p_c->find(r_k);

It looks like test_traits::extract_key returns something on stack
and r_k references a value on deallocated stack.


-- 


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

Reply via email to