mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Fix GCC version runtime changes, bug651.
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ void V3LinkLevel::modSortByLevel() {
|
||||
}
|
||||
vec.push_back(nodep);
|
||||
}
|
||||
sort(vec.begin(), vec.end(), CmpLevel()); // Sort the vector
|
||||
stable_sort(vec.begin(), vec.end(), CmpLevel()); // Sort the vector
|
||||
for (ModVec::iterator it = vec.begin(); it != vec.end(); ++it) {
|
||||
AstNodeModule* nodep = *it;
|
||||
nodep->unlinkFrBack();
|
||||
|
||||
Reference in New Issue
Block a user