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(