From 2dd0eed7ae031c113c71bda1975d6035cca0998e Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Fri, 15 Feb 2019 09:47:34 +0000 Subject: 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 --- src/cpu/o3/lsq_impl.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/o3') 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(); -- cgit v1.2.3