http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51956
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.7.0 --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-05 19:13:06 UTC --- I didn't use your patch, as it printed the wrong thing for the weak count (_M_weak_count is #weak + (#shared != 0) not #weak + #nshared) now it prints one of: (count N, M weak) (expired, M weak) for an expired weak pointer (empty) for an empty pointer