http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48257
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-03-24 08:02:51 UTC --- Jon is absolutely right. Please, always refer to the Standard for the complete specifications. And yes exceeding max_size for the total length leads to an exception being thrown, this is what _M_check_length is for.