On Feb 15, 2005, at 10:45 AM, Giorgenes Gelatti wrote:

general info
------------

gcc --version:
gcc (GCC) 3.3.4

uname -a:
Linux trinita 2.4.26 #6 Mon Jun 14 19:07:27 PDT 2004 i686 unknown unknown GNU/Linux


compiled with:
gcc bug.c -O1 -save-temps -o bug

mpixel = (double)((unsigned int)h * w) / 1000000.0;

Hmm, can you try -ffloat-store. If that cures your problem then this is not a bug
per say. GCC is just using excessive precision on x86.


-- Pinski



Reply via email to