arch-arm, cpu: fix ARM ubsan build on GCC 7.4.0
authorCiro Santilli <ciro.santilli@arm.com>
Tue, 23 Jul 2019 09:32:52 +0000 (10:32 +0100)
committerCiro Santilli <ciro.santilli@arm.com>
Wed, 21 Aug 2019 12:17:17 +0000 (12:17 +0000)
commit76358df574d655f97aa223faf2b860a41271e920
treeccbac40fad4ac3393f1ee88c31d8ec64dece74fc
parentacad54cf4e01809170e343b13f302fc5b032c366
arch-arm, cpu: fix ARM ubsan build on GCC 7.4.0

In src/cpu/reg_class.hh, numPinnedWrites was unset because the
constructors were not well factored out.

Change-Id: Ib2fc8d34a1adf5c48826d257a31dd24dfa64a08a
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20048
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/isa/formats/fp.isa
src/arch/generic/types.hh
src/cpu/reg_class.hh