From: Giacomo Travaglini Date: Fri, 15 Feb 2019 09:47:34 +0000 (+0000) Subject: cpu: Fix fast build broken due to unused variable X-Git-Tag: v19.0.0.0~1131 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2dd0eed7ae031c113c71bda1975d6035cca0998e;p=gem5.git cpu: Fix fast build broken due to unused variable This fixes fast build for commit 25dc765889d948693995cfa622f001aa94b5364b (fast build is striping out assertions) Change-Id: I9536ad58a3d85990b16a1f8c2515f6bf5d3acf71 Signed-off-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/c/16463 Reviewed-by: Daniel Carvalho Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power --- diff --git a/src/cpu/o3/lsq_impl.hh b/src/cpu/o3/lsq_impl.hh index abe751c88..5c64377b9 100644 --- a/src/cpu/o3/lsq_impl.hh +++ b/src/cpu/o3/lsq_impl.hh @@ -685,7 +685,7 @@ LSQ::pushRequest(const DynInstPtr& inst, bool isLoad, uint8_t *data, // This comming request can be either load, store or atomic. // Atomic request has a corresponding pointer to its atomic memory // operation - bool isAtomic = !isLoad && amo_op; + bool isAtomic M5_VAR_USED = !isLoad && amo_op; ThreadID tid = cpu->contextToThread(inst->contextId()); auto cacheLineSize = cpu->cacheLineSize();