Re: [PATCH] accel/tcg: Split out cpu_exec_{setjmp,loop}

2023-01-07 Thread Philippe Mathieu-Daudé
On 7/1/23 19:20, Richard Henderson wrote: Recently the g_assert(cpu == current_cpu) test has been intermittently failing with gcc. Reorg the code around the setjmp to minimize the lifetime of the cpu variable affected by the setjmp. This appears to fix the existing issue with clang as well. Re

[PATCH] accel/tcg: Split out cpu_exec_{setjmp,loop}

2023-01-07 Thread Richard Henderson
Recently the g_assert(cpu == current_cpu) test has been intermittently failing with gcc. Reorg the code around the setjmp to minimize the lifetime of the cpu variable affected by the setjmp. This appears to fix the existing issue with clang as well. Resolves: https://gitlab.com/qemu-project/qemu