arch-arm: Fix implicit fallthrough build errors
authorChun-Chen TK Hsu <chunchenhsu@google.com>
Tue, 20 Aug 2019 10:21:49 +0000 (18:21 +0800)
committerChun-Chen TK Hsu <chunchenhsu@google.com>
Wed, 21 Aug 2019 11:35:23 +0000 (11:35 +0000)
commitb192aed7e73a60d49bf560c0c8c478dfcf219de1
tree68f85b39120f89cc47c4708f24bb80eefc0969c4
parent869053c8fa25fb58b70d59ccdd8e81825e5ee9e3
arch-arm: Fix implicit fallthrough build errors

1942b21713 introduced implicit-fallthrough errors when compiled with
GCC 8.  This change adds M5_UNREACHABLE in the default case.

Change-Id: I220f2b3fe39b5c3a65c0dd390915bffeafb28962
Signed-off-by: Chun-Chen TK Hsu <chunchenhsu@google.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20268
Reviewed-by: Jordi Vaquero <jordi.vaquero@metempsy.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/isa/formats/aarch64.isa