tfp.c:
int f()
{
return (int) (1.02 * 2.0 - 3.121232);
}
% gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/specs
gcc version 2.7.2.3
% gcc -O2 -S tfp
tfp.s:
.file "tfp.c"
.version "01.01"
gcc2_compiled.:
.text
.align 4
.globl f
.type f,@function
f:
pushl %ebp
movl %esp,%ebp
movl $-1,%eax <------------------------
leave
ret
.Lfe1:
.size f,.Lfe1-f
.ident "GCC: (GNU) 2.7.2.3"
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html