Menu

#3718 Casts from _BitInt to float broken

closed-fixed
None
other
5
2025-08-07
2024-03-23
No

The following hits an assertion in SDCC (both 4.4.0 and current trunk):

float f;
unsigned _BitInt(8) i;

void g(void)
{
    f = i;
}

Related

Bugs: #3717
Wiki: NGI0-Commons-SDCC

Discussion

  • Philipp Klaus Krause

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -The following hits an assertion in SDCC (bith 4.4.0 and current trunk):
    +The following hits an assertion in SDCC (both 4.4.0 and current trunk):
    
     ~~~~
     float f;
    
     
  • Philipp Klaus Krause

    • assigned_to: Philipp Klaus Krause
     
  • Philipp Klaus Krause

    • status: open --> closed-fixed
     
  • Philipp Klaus Krause

    Fixed in [r15560].

     

    Related

    Commit: [r15560]


Log in to post a comment.

MongoDB Logo MongoDB