cpu: fix unitialized variable which may cause assertion failure
Review Request #3241 - Created Dec. 4, 2015 and submitted
| Information | |
|---|---|
| Pau Cabre | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 11240:59a46f1bb06d --------------------------- cpu: fix unitialized variable which may cause assertion failure The assert in lsq_unit_impl.hh line 963 needs pktPending to be initialized to NULL (I got the assertion failure several times without the fix).
Ship It!
Posted (Dec. 4, 2015, 3:25 p.m.)
It seems there is something wrong with this patch. The pendingPacket variable belongs to
LSQSenderState class and not LSQUnit whose constructor is being edited.
