AVR C Runtime Library - Bugs: bug #21872, __floatunsisf/undisf incorrectly...
You are not allowed to post comments on this tracker with your current authentication level.
bug #21872: __floatunsisf/undisf incorrectly named
Submitter: | Andreas Kaiser <prx99> | ||
Submitted: | Sat 22 Dec 2007 09:00:07 PM UTC | ||
Category: | Library | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | libm code |
Status: | Fixed | Assigned to: | dmix |
Percent Complete: | 100% | Open/Closed: | Closed |
Release: | None | Fixed Release: | None |
Sun 23 Dec 2007 08:13:23 AM UTC, comment #2: |
Dmitry Xmelkov <dmix> |
Sun 23 Dec 2007 03:01:55 AM UTC, comment #1: Confirm with GCC 4.2.2
|
Dmitry Xmelkov <dmix> |
Sat 22 Dec 2007 09:00:07 PM UTC, original submission:
avr-libc-1.6.1/libm/fplib/floatsisf.S defines __floatunssisf instead of __floatunsisf
|
Andreas Kaiser <prx99> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
Follow 6 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2008-03-19 | arcanum | Open/Closed | Open | Closed | |
2007-12-23 | dmix | Status | None | Fixed | |
Percent Complete | 0% | 100% | |||
2007-12-22 | joerg_wunsch | Assigned to | None | dmix | |
2007-12-22 | prx99 | Carbon-Copy | Removed prx99 | - | |
2007-12-22 | prx99 | Carbon-Copy | - | Added prx99 |
Powered by Savane 3.13-caa5.
Corresponding source code
Andreas Kaiser, thank you!
It is a real bug with new GCC (4.2). It enlarges the program size approx. by 1kB.
In contrast to early versions, avr-gcc 4.2 has documented funcion names of such coversions and it does realy use floatun*() function. Old compiler uses signed conversion and large inline code to correct the result.
Note, that the 'un' is used only here, all other names use the 'uns': fixunssisf, floatunssisd, floatunsMN2 ...
Fixed in CVS HEAD, 1.6