Received: from eggs.gnu.org ([2001:4830:134:3::10]:38832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDuw9-0007ao-50 for qemu-devel@nongnu.org; Wed, 21 Jan 2015 08:03:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDuw3-000087-GM for qemu-devel@nongnu.org; Wed, 21 Jan 2015 08:03:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDuw3-00007e-9F for qemu-devel@nongnu.org; Wed, 21 Jan 2015 08:03:03 -0500 From: Markus Armbruster Date: Wed, 21 Jan 2015 14:02:54 +0100 Message-ID: <877fwgi8w1.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] target-tricore: MISSING_BREAK in gen_compute_branch(), false positive? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Bastian Koppelmann Coverity reports Error: MISSING_BREAK: target-tricore/translate.c:1648: unterminated_case: This case (value "OPC1_32_B_JLA") is not terminated by a 'break' statement. target-tricore/translate.c:1650: fallthrough: The above case falls through to this one. Here's the code: case OPC1_32_B_JLA: tcg_gen_movi_tl(cpu_gpr_a[11], ctx->next_pc); case OPC1_32_B_JA: gen_goto_tb(ctx, 0, EA_B_ABSOLUT(offset)); break; If the fall through is intentional, please add a comment, like this: case OPC1_32_B_JLA: tcg_gen_movi_tl(cpu_gpr_a[11], ctx->next_pc); /* fall through */ case OPC1_32_B_JA: gen_goto_tb(ctx, 0, EA_B_ABSOLUT(offset)); break;