http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53477
JiYouguo changed:
What|Removed |Added
CC||jiyouguo at gmail dot com
--- Comment #18 from JiYouguo ---
(In reply to Pawel Sikora from comment #17)
Would you mind telling how to patch a bug? I just can't find the file
simple.cc.
> pure gcc 4.9.0 20140106 still fails:
>
>
> Breakpoint 2, main () at pr53477.cpp:15
> (gdb) p wordBitsetMap
> $1 = std::map with 1 elementsTraceback (most recent call last):
> File
> "/home/pawels/gcc/4.9/share/gcc-4.9.0/python/libstdcxx/v6/printers.py", line
> 438, in children
> rep_type = find_type(self.val.type, '_Rep_type')
> File
> "/home/pawels/gcc/4.9/share/gcc-4.9.0/python/libstdcxx/v6/printers.py", line
> 54, in find_type
> raise ValueError, "Cannot find type %s::%s" % (str(orig), name)
> ValueError: Cannot find type const std::map int, std::set,
> std::__7::allocator >, std:
> :__7::less, std::__7::allocator const, std::set,
> std::__7::allocator > > > >
> , std::__7::less, std::__7::allocator int const, std::map std::__7::less, std::__7::al
> locator >, std::__7::less,
> std::__7::allocator int, std::__7::less, std::__7::al
> locator > > > > > > >::mapped_type::_Rep_type
>
>
>
> patch propses in comment #10 works for me:
>
> Breakpoint 2, main () at pr53477.cpp:15
> (gdb) p wordBitsetMap
> $1 = std::map with 1 elements = {
> [3] = std::set with 2 elements = {
> [0] = 1,
> [1] = 5
> }
> }