From: Jason Lowe-Power Date: Tue, 3 Oct 2017 00:22:32 +0000 (-0700) Subject: cpu-o3: Add M5_VAR_USED to variable X-Git-Tag: v19.0.0.0~2595 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc52235454bc1bf60100e15043d89019b857d134;p=gem5.git cpu-o3: Add M5_VAR_USED to variable Fixes compile error for gem5.fast on CLANG due to unused variable. Change-Id: Iabe777a27d75ee8bfa7b214fff577aed3c7582c7 Signed-off-by: Jason Lowe-Power Reviewed-on: https://gem5-review.googlesource.com/4980 Reviewed-by: Nikos Nikoleris --- diff --git a/src/cpu/o3/scoreboard.hh b/src/cpu/o3/scoreboard.hh index 1012bae59..f09b19540 100644 --- a/src/cpu/o3/scoreboard.hh +++ b/src/cpu/o3/scoreboard.hh @@ -61,7 +61,7 @@ class Scoreboard std::vector regScoreBoard; /** The number of actual physical registers */ - unsigned numPhysRegs; + unsigned M5_CLASS_VAR_USED numPhysRegs; public: /** Constructs a scoreboard.