------- Comment #1 from paolo dot carlini at oracle dot com 2009-03-09 20:53 ------- There is nothing wrong here, the bahavior is fully specified in the Standard, 23.3.1.2 as:
Returns: (*((insert(make_pair(x, T()))).first)).second. Note, our inline documentation comments are also very clear about this. -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39416