------- Comment #4 from richardlee at snowshoefox dot com 2010-03-22 20:55 ------- Here is a very simplified version of the scenario that triggered the bug.
bool compare(int t1, int t2) { return true; } int main(int argc, char** argv) { vector<int> v; v.assign(32, 2); cout << v.size() << endl; sort(v.begin(), v.end(), compare); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43483