From: Sujay Phadke Date: Tue, 23 Jan 2018 17:54:12 +0000 (+0530) Subject: alpha: fix for no 'break' in the case statement X-Git-Tag: v19.0.0.0~2333 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=257a67826291712202299957223c64af7a61ea98;p=gem5.git 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 --- 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