From 257a67826291712202299957223c64af7a61ea98 Mon Sep 17 00:00:00 2001 From: Sujay Phadke Date: Tue, 23 Jan 2018 23:24:12 +0530 Subject: alpha: fix for no 'break' in the case statement gem5 won't compile correctly since g++ will throw a warning (error) that the next case statement below this one is reachable since there is no 'break' statement. Signed-off-by: Sujay Phadke Change-Id: Icab646ee5abcfeb6ba3e690909042927b4003eba Reviewed-on: https://gem5-review.googlesource.com/7521 Reviewed-by: Jason Lowe-Power Reviewed-by: Brandon Potter Maintainer: Jason Lowe-Power --- src/arch/alpha/ev5.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arch/alpha/ev5.cc b/src/arch/alpha/ev5.cc index 4d72104b1..ae8efa4e6 100644 --- a/src/arch/alpha/ev5.cc +++ b/src/arch/alpha/ev5.cc @@ -303,6 +303,7 @@ ISA::setIpr(int idx, uint64_t val, ThreadContext *tc) if (tc->getKernelStats()) tc->getKernelStats()->mode(Kernel::kernel, tc); } + M5_FALLTHROUGH; case IPR_ICM: // only write two mode bits - processor mode -- cgit v1.2.3