1 From daeaf29f392d44b24c575666db6b989582654d76 Mon Sep 17 00:00:00 2001
2 From: Andy Fiddaman <illumos@fiddaman.net>
3 Date: Thu, 29 Dec 2022 11:13:28 +0000
4 Subject: cpu-exec.c fails to compile - code path is reachable
6 https://www.illumos.org/issues/15304
8 diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c
9 index 356fe348de..d66ca82088 100644
10 --- a/accel/tcg/cpu-exec.c
11 +++ b/accel/tcg/cpu-exec.c
12 @@ -459,7 +459,7 @@ cpu_tb_exec(CPUState *cpu, TranslationBlock *itb, int *tb_exit)
14 if (cc->tcg_ops->synchronize_from_tb) {
15 cc->tcg_ops->synchronize_from_tb(cpu, last_tb);
17 + } else if (!TARGET_TB_PCREL) {
18 assert(!TARGET_TB_PCREL);
20 cc->set_pc(cpu, tb_pc(last_tb));