From 1c5317d6214baec897120320423e6ad9f4980fdf Mon Sep 17 00:00:00 2001 From: Iain Buclaw Date: Thu, 2 Dec 2021 01:42:07 +0100 Subject: [PATCH] libphobos: Add missing ControlState variable for AArch64 Fixes a typo that occurred during the splitting of the std.math module into a package. libphobos/ChangeLog: * src/std/math/hardware.d (FloatingPointControl.getControlState): Add missing ControlState variable for AArch64. --- libphobos/src/std/math/hardware.d | 1 + 1 file changed, 1 insertion(+) diff --git a/libphobos/src/std/math/hardware.d b/libphobos/src/std/math/hardware.d index 90bc96df148..b768969d4cf 100644 --- a/libphobos/src/std/math/hardware.d +++ b/libphobos/src/std/math/hardware.d @@ -912,6 +912,7 @@ private: } else version (AArch64) { + ControlState cont; asm pure nothrow @nogc { "mrs %0, FPCR;" : "=r" (cont);