Hi,

This patch fixes a typo that occurred during the splitting of the
std.math module into a package.

Bootstrapped and regression tested on aarch64-linux-gnu, and committed
to mainline.

Regards,
Iain.

---
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);
-- 
2.30.2

Reply via email to