http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53059
--- Comment #6 from Evgeny Ratnikov <ratnikov.ev at ya dot ru> 2012-04-22 08:47:07 UTC --- (In reply to comment #2) > Why do you think this is a bug? > > The C++ 2011 standard requires that std::list::size() is O(1) so a new member > variable is needed to store the container's size. To be clear. It is not a real problem that the size of std::list was changed. The real problem is that after such change my application (-std=98) linked with libraries (-std=0x) causes corrupted stack. May be I was too precise naming a bug. It would be nice to hear your opinion about my situation.