mem-ruby: Added M5_CLASS_VAR_USED to m_id in OutputUnit
authorBobby R. Bruce <bbruce@ucdavis.edu>
Tue, 19 May 2020 15:58:41 +0000 (08:58 -0700)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Wed, 20 May 2020 01:02:33 +0000 (01:02 +0000)
commitebf5755cce7103b0cc9b03b023cd5c6aed379b75
treed8733a0603098a68b56439d0cc8df076f843d50c
parent65dbb3c69aff5bca9c4df0dee2a6b01af3eae5d2
mem-ruby: Added M5_CLASS_VAR_USED to m_id in OutputUnit

Clang 9 throws an error that 'm_id' is unused (encountered when
compiling X86.fast). M5_CLASS_VAR_USED has been added to avoid this
error.

Change-Id: I722edd1429a074ff484b5ebbdc431af0089561b5
Issue-on: https://gem5.atlassian.net/browse/GEM5-560
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29304
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/network/garnet2.0/OutputUnit.hh