------- Comment #21 from ppluzhnikov at charter dot net 2006-11-10 23:00 ------- I was going to say the same thing, but p.van-hoof beat me to it.
Here is another trivial test case that shows 1 violation: // Reduced from ex02-04.cpp from "STL Tutorial and Reference Guide" #include <string> using namespace std; int main() { map<string, long> directory; directory["Bogart"] = 1234567; directory["Bacall"] = 9876543; } The violation was reproduced with gcc-4.3-20061104 snapshot on linux-i686. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19319