From: Piotr Trojanek <[email protected]>
Code cleanup.
gcc/ada/ChangeLog:
* urealp.adb (UR_Exponentiate): Use local variable.
Tested on x86_64-pc-linux-gnu, committed on master.
---
gcc/ada/urealp.adb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ada/urealp.adb b/gcc/ada/urealp.adb
index 446a65664f9..3a9fddea60b 100644
--- a/gcc/ada/urealp.adb
+++ b/gcc/ada/urealp.adb
@@ -818,7 +818,7 @@ package body Urealp is
return Store_Ureal
((Num => Uint_1,
Den => -N,
- Rbase => UI_To_Int (UR_Trunc (Bas)),
+ Rbase => UI_To_Int (IBas),
Negative => Neg));
-- If the exponent is negative then we raise the numerator and the
--
2.43.0