https://gcc.gnu.org/g:416a23528271b85e51abe8fce4d84750d6caff37

commit r17-1503-g416a23528271b85e51abe8fce4d84750d6caff37
Author: Georg-Johann Lay <[email protected]>
Date:   Thu Jun 11 21:31:05 2026 +0200

    AVR: Tweak __floatdidf, __floatundidf.
    
    libgcc/config/avr/libf7/
            * libf7.c (__floatdidf, __floatundidf): Minor tweak.

Diff:
---
 libgcc/config/avr/libf7/libf7.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/libgcc/config/avr/libf7/libf7.c b/libgcc/config/avr/libf7/libf7.c
index c298b4dc479a..b4ce1348d670 100644
--- a/libgcc/config/avr/libf7/libf7.c
+++ b/libgcc/config/avr/libf7/libf7.c
@@ -122,9 +122,9 @@ int8_t ssat8_range (int16_t a, int8_t range)
 F7_WEAK
 f7_double_t __floatundidf (uint64_t x)
 {
-  f7_t xx;
-  f7_set_u64 (&xx, x);
-  return f7_get_double (&xx);
+  f7_t xx7, *xx = &xx7;
+  xx = f7_set_u64 (xx, x);
+  return f7_get_double (xx);
 }
 #endif // F7MOD_floatundidf_
 
@@ -133,9 +133,9 @@ f7_double_t __floatundidf (uint64_t x)
 F7_WEAK
 f7_double_t __floatdidf (int64_t x)
 {
-  f7_t xx;
-  f7_set_s64 (&xx, x);
-  return f7_get_double (&xx);
+  f7_t xx7, *xx = &xx7;
+  xx = f7_set_s64 (xx, x);
+  return f7_get_double (xx);
 }
 #endif // F7MOD_floatdidf_

Reply via email to