------- Comment #2 from pinskia at gcc dot gnu dot org 2009-01-14 21:58 ------- other.c_ = c;
The issue here is that MyCompare is an empty struct (but has a sizeof of 1 because C++ standard) but GCC is not deleting stores for some reason. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38851