]> git.ipfire.org Git - people/ms/gcc.git/commitdiff
libphobos: Add missing ControlState variable for AArch64
authorIain Buclaw <ibuclaw@gdcproject.org>
Thu, 2 Dec 2021 00:42:07 +0000 (01:42 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Thu, 2 Dec 2021 00:46:55 +0000 (01:46 +0100)
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

index 90bc96df14834c706e5a21b6951c54dd444aff7c..b768969d4cf5d30c2b3e41aba02ca734ab04cc26 100644 (file)
@@ -912,6 +912,7 @@ private:
             }
             else version (AArch64)
             {
+                ControlState cont;
                 asm pure nothrow @nogc
                 {
                     "mrs %0, FPCR;" : "=r" (cont);