[Bug libstdc++/37144] A bug in include/ext/pb_ds/detail/pat_trie_/constructors_destructor_fn_imps.hpp
hjl dot tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Dec 10 22:46:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list