public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl dot tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/37144] A bug in include/ext/pb_ds/detail/pat_trie_/constructors_destructor_fn_imps.hpp
Date: Thu, 11 Dec 2008 17:34:00 -0000	[thread overview]
Message-ID: <20081211173303.10551.qmail@sourceware.org> (raw)
In-Reply-To: <bug-37144-682@http.gcc.gnu.org/bugzilla/>



------- Comment #20 from hjl dot tools at gmail dot com  2008-12-11 17:33 -------
We created a temporary because

(gdb) bt
#0  pair<const __gnu_pbds::test::basic_type, __gnu_pbds::test::basic_type> (
    this=0x7fffffffc6c0, __p=@0x7fffffffc750)
    at
/export/build/gnu/gcc-work/build-x86_64-linux/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/stl_pair.h:106
#1  0x0000000000420a26 in
__gnu_pbds::test::detail::regression_test_type_traits<__gnu_pbds::trie<__gnu_pbds::test::basic_type,
__gnu_pbds::test::basic_type,
__gnu_pbds::string_trie_e_access_traits<__gnu_pbds::test::basic_type, (char)97,
(char)100, false, __gnu_cxx::throw_allocator<__gnu_pbds::test::basic_type> >,
__gnu_pbds::pat_trie_tag, __gnu_pbds::null_trie_node_update,
__gnu_cxx::throw_allocator<__gnu_pbds::test::basic_type> > >::extract_key
(r_val=@0x7fffffffc750)
    at
/export/gnu/src/gcc-work/gcc/libstdc++-v3/testsuite/util/regression/trait/assoc/type_trait.hpp:82
#2  0x0000000000413cef in
__gnu_pbds::test::detail::regression_test_traits<__gnu_pbds::trie<__gnu_pbds::test::basic_type,
__gnu_pbds::test::basic_type,
__gnu_pbds::string_trie_e_access_traits<__gnu_pbds::test::basic_type, (char)97,
(char)100, false, __gnu_cxx::throw_allocator<__gnu_pbds::test::basic_type> >,
__gnu_pbds::pat_trie_tag, __gnu_pbds::null_trie_node_update,
__gnu_cxx::throw_allocator<__gnu_pbds::test::basic_type> > >::extract_key
(r_val=@0x7fffffffc750)
    at
/export/gnu/src/gcc-work/gcc/libstdc++-v3/testsuite/util/regression/trait/assoc/trait.hpp:164
#3  0x000000000040cdfb in
__gnu_pbds::test::detail::container_rand_regression_test<__gnu_pbds::trie<__gnu_pbds::test::basic_type,
__gnu_pbds::test::basic_type,
__gnu_pbds::string_trie_e_access_traits<__gnu_pbds::test::basic_type, (char)97,
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) p &__p
$13 = (
    const std::pair<const __gnu_pbds::test::basic_type,
__gnu_pbds::test::basic_type> *) 0x7fffffffc750
(gdb) p this
$14 = (
    class std::pair<__gnu_pbds::test::basic_type, __gnu_pbds::test::basic_type>
     * const) 0x7fffffffc6c0
(gdb) 

Those 2 types are slightly different.


-- 


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


  parent reply	other threads:[~2008-12-11 17:34 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-17 19:32 [Bug libstdc++/37144] New: " hjl dot tools at gmail dot com
2008-08-17 21:00 ` [Bug libstdc++/37144] " hjl dot tools at gmail dot com
2008-08-17 21:20 ` hjl dot tools at gmail dot com
2008-08-17 21:50 ` hjl dot tools at gmail dot com
2008-08-17 21:53 ` hjl dot tools at gmail dot com
2008-08-18  4:21 ` hjl dot tools at gmail dot com
2008-11-16  0:18 ` hjl dot tools at gmail dot com
2008-11-16 19:18 ` danglin at gcc dot gnu dot org
2008-11-16 19:22 ` hjl dot tools at gmail dot com
2008-12-10 22:46 ` hjl dot tools at gmail dot com
2008-12-10 23:09 ` hjl dot tools at gmail dot com
2008-12-11  0:48 ` hjl dot tools at gmail dot com
2008-12-11  1:18 ` hjl dot tools at gmail dot com
2008-12-11 15:39 ` paolo dot carlini at oracle dot com
2008-12-11 15:43 ` hjl dot tools at gmail dot com
2008-12-11 15:50 ` rguenth at gcc dot gnu dot org
2008-12-11 16:18 ` paolo dot carlini at oracle dot com
2008-12-11 16:40 ` paolo dot carlini at oracle dot com
2008-12-11 16:47 ` hjl dot tools at gmail dot com
2008-12-11 16:51 ` hjl dot tools at gmail dot com
2008-12-11 17:34 ` hjl dot tools at gmail dot com [this message]
2008-12-11 17:58 ` hjl dot tools at gmail dot com
2008-12-11 18:14 ` paolo dot carlini at oracle dot com
2008-12-11 18:33 ` hjl dot tools at gmail dot com
2008-12-11 18:40 ` hjl dot tools at gmail dot com
2008-12-11 18:48 ` dave at hiauly1 dot hia dot nrc dot ca
2008-12-11 18:50 ` hjl dot tools at gmail dot com
2008-12-11 18:56 ` paolo dot carlini at oracle dot com
2008-12-11 18:59 ` hjl dot tools at gmail dot com
2008-12-13  1:43 ` hjl at gcc dot gnu dot org
2008-12-13  1:48 ` hjl at gcc dot gnu dot org
2008-12-13  2:04 ` hjl dot tools at gmail dot com
2008-12-13 15:56 ` hjl dot tools at gmail dot com
2008-12-17 17:23 ` paolo dot carlini at oracle dot com
     [not found] <bug-37144-4@http.gcc.gnu.org/bugzilla/>
2011-05-21  3:04 ` bkoz at gcc dot gnu.org
2011-05-24  4:30 ` bkoz at gcc dot gnu.org
2012-03-04 12:06 ` redi at gcc dot gnu.org
2012-05-02 22:53 ` bkoz at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081211173303.10551.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).