This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1001468] eCos GNU tools 4.6.2
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Sat, 10 Mar 2012 23:46:23 +0000
- Subject: [Bug 1001468] eCos GNU tools 4.6.2
- Auto-submitted: auto-generated
- References: <bug-1001468-13@http.bugs.ecos.sourceware.org/>
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001468
--- Comment #30 from Ilija Kocho <ilijak@siva.com.mk> 2012-03-10 23:46:14 GMT ---
Another serious bug in GCC 4.6.2
I have started playing with Cortex-M4 Floating Point Unit and found out that
conversion between float and double doesn't work when hardware floating point
is on: -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16
For instance:
{
double dbl;
float flo;
//.....
dbl = flo;
// dbl is rubish
}
It is due to wrong helper library and seem to be the following bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51835
I tried GCC 4.6.3 and it seems to work. I'll do some more tests but IMO we
should start considering of replacing current 4.6.2-20120125 test release with
something newer, possibly 4.6.3. Building of 4.6.3, as noted by Sergei
(comment# 25), is quite straight-forward - I just applied the 4.6.2 patches.
Of course, until this is resolved nothing can stop us from hunting warnings
with current test release.
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.