[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
Thu Dec 11 18:50:00 GMT 2008



------- Comment #26 from hjl dot tools at gmail dot com  2008-12-11 18:49 -------
(In reply to comment #22)
> Therefore, are you coming to the conclusion that something in the testing
> infrastructure is wrong (mismatched types), *not* in the ext/pb_ds code itself?
> 

include/ext/pb_ds/detail/pat_trie_/constructors_destructor_fn_imps.hpp
has

212   --child_i;
213   _GLIBCXX_DEBUG_ASSERT(child_i > 1);
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

When I used -D_GLIBCXX_DEBUG, I got abort for child_i == 1 after
my patch is applied.


-- 


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



More information about the Gcc-bugs mailing list