From b63d13d6ece5d956c37055875beb15c8140f81db Mon Sep 17 00:00:00 2001 From: Ivan Chikish Date: Fri, 28 Jul 2023 00:49:28 +0300 Subject: [PATCH] Fix compiling with old gcc --- hw/amdgpu/device/src/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/amdgpu/device/src/device.cpp b/hw/amdgpu/device/src/device.cpp index 918177dee..b83e30814 100644 --- a/hw/amdgpu/device/src/device.cpp +++ b/hw/amdgpu/device/src/device.cpp @@ -3735,7 +3735,7 @@ struct RenderState { } if (regs.zReadBase != regs.zWriteBase) { - std::unreachable(); + __builtin_unreachable(); } auto depthImage = g_cache.getImage(