https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64694

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at ucw dot cz

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
r219076 has

1674        return target_cfa - current->cfa + target->args_size;
(gdb) bt
#0  uw_install_context_1 (current=current@entry=0xffffcc00, 
    target=target@entry=0xffffcce0)
    at ../../../../../../gcc/libgcc/unwind-dw2.c:1674
#1  0xf757fd4e in _Unwind_RaiseException (exc=<optimized out>)
    at ../../../../../../gcc/libgcc/unwind.inc:135
#2  0x00402bb6 in std::_Hashtable<int, int,
__gnu_cxx::throw_allocator_limit<int>, std::__detail::_Identity,
std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing,
std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy,
std::__detail::_Hashtable_traits<false, true, true> >::_M_rehash
    (this=this@entry=0xffffd0c0, __n=<optimized out>, __state=@0xffffd0ac: 199)
    at
/export/gnu/import/git/gcc-regression/master/219077/bld/x86_64-unknown-linux-gnu/x32/libstdc++-v3/include/bits/hashtable.h:1953
#3  0x00403533 in __rehash_policy (__pol=..., this=0xffffd0c0)
    at
/export/gnu/import/git/gcc-regression/master/219077/bld/x86_64-unknown-linux-gnu/x32/libstdc++-v3/include/bits/hashtable.h:1291
#4  max_load_factor (__z=0.5, this=0xffffd0c0)
    at
/export/gnu/import/git/gcc-regression/master/219077/bld/x86_64-unknown-linux-gnu/x32/libstdc++-v3/include/bits/hashtable_policy.h:953
#5  max_load_factor (__z=0.5, this=0xffffd0c0)
    at
/export/gnu/import/git/gcc-regression/master/219077/bld/x86_64-unknown-linux-gnu/x32/libstdc++-v3/include/bits/unordered_set.h:678
#6  test01 ()
    at
/export/gnu/import/git/gcc-regression/gcc/libstdc++-v3/testsuite/23_conta---Type
<return> to continue, or q <return> to quit---
iners/unordered_set/max_load_factor/robustness.cc:48
#7  0x00400f78 in main ()
    at
/export/gnu/import/git/gcc-regression/gcc/libstdc++-v3/testsuite/23_containers/unordered_set/max_load_factor/robustness.cc:75
(gdb) 

return target_cfa - current->cfa + target->args_size;

returns 0xd0.  But it should be 0x30.

Reply via email to