http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53477
--- Comment #7 from asmwarrior <asmwarrior at gmail dot com> --- Ok, I found another issue on the line "return 0", see the GDB log: [debug]> p m [debug]$2 = std::map with 1 elements = {[3] = std::set with 2 elements = {[0] = 5, [1] = 6}} [debug]>>>>>>cb_gdb: [debug]> p m[3] [debug]Attempt to take address of value not located in memory. [debug]>>>>>>cb_gdb: "p m" shows the correct value, but I'm not sure why "p m[3]" failed? Is it a GDB bug?