Fix GCC version runtime changes, bug651.

This commit is contained in:
Wilson Snyder
2013-05-23 20:19:51 -04:00
parent 3bd3d01968
commit 175d59ecba
9 changed files with 15 additions and 13 deletions
+1 -1
View File
@@ -1717,7 +1717,7 @@ void EmitCImp::emitIntFuncDecls(AstNodeModule* modp) {
}
}
sort(funcsp.begin(), funcsp.end(), CmpName());
stable_sort(funcsp.begin(), funcsp.end(), CmpName());
for (vector<AstCFunc*>::iterator it = funcsp.begin(); it != funcsp.end(); ++it) {
AstCFunc* funcp = *it;