public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-5705] libphobos: Add missing ControlState variable for AArch64
@ 2021-12-02 0:47 Iain Buclaw
0 siblings, 0 replies; only message in thread
From: Iain Buclaw @ 2021-12-02 0:47 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:1c5317d6214baec897120320423e6ad9f4980fdf
commit r12-5705-g1c5317d6214baec897120320423e6ad9f4980fdf
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date: Thu Dec 2 01:42:07 2021 +0100
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.
Diff:
---
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-02 0:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-02 0:47 [gcc r12-5705] libphobos: Add missing ControlState variable for AArch64 Iain Buclaw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).