This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 4.4.0 on ARM/WinCE float problem
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: danny dot backx at scarlet dot be
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 23 Jul 2009 10:07:10 +0100
- Subject: Re: gcc 4.4.0 on ARM/WinCE float problem
- References: <1248337371.5619.53.camel@pavilion>
Danny Backx wrote:
Hi Danny,
> The difference between the last two printf statements points out, I
> think, that a problem exists around printf. Might be float to double
> conversion.
Could also be stdargs. Or float arg passing in general. Or arg promotion.
Are you using soft or hard fp?
> The difference between the second and fourth printf statements points
> out that a problem exists in arithmetic. (dd and ddd should be equal.)
I don't think you're going to get anywhere with this until you start looking
at the generated code to see precisely *what* is wrong with it. You've gone
as far as you can with prodding it from the outside like a black box.
cheers,
DaveK