mirror of
https://github.com/verilator/verilator.git
synced 2025-04-21 12:06:55 +00:00
Fix core dump with over 100 deep UNOPTFLAT, bug432.
This commit is contained in:
parent
8f40d6617e
commit
0c7c4924ee
2
Changes
2
Changes
@ -10,6 +10,8 @@ indicates the contributor was also the author of the fix; Thanks!
|
||||
|
||||
*** Report MULTIDRIVEN on memories set in multiple clock domains.
|
||||
|
||||
**** Fix core dump with over 100 deep UNOPTFLAT, bug432. [Joe Eiler]
|
||||
|
||||
|
||||
* Verilator 3.831 2012/01/20
|
||||
|
||||
|
@ -344,7 +344,8 @@ private:
|
||||
// When we hit ourself again, return the list of all loops
|
||||
if (m_done) return;
|
||||
|
||||
m_callTrace.reserve(currentRank+10); // Leave slop for speed
|
||||
// Can't just reserve(), unless we modify size() before setting array directly
|
||||
while (m_callTrace.size() <= currentRank) m_callTrace.push_back(vertexp);
|
||||
m_callTrace[currentRank++] = vertexp;
|
||||
|
||||
if (vertexp->user() == 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user