[committed] libphobos: Add missing ControlState variable for AArch64

Message ID 20211202004824.426983-1-ibuclaw@gdcproject.org
State Committed
Commit 1c5317d6214baec897120320423e6ad9f4980fdf
Headers
Series [committed] libphobos: Add missing ControlState variable for AArch64 |

Commit Message

Iain Buclaw Dec. 2, 2021, 12:48 a.m. UTC
  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(+)
  

Patch

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