[Bug c/31006] long double constant is read as double in i386

2007-03-01 Thread chat95 at mac dot com
--- Comment #3 from chat95 at mac dot com 2007-03-01 08:06 --- 1. // long double PI * PI + IP ld_a = ld_b = PI; part becomes: movl$560513024, %eax movl$-921707870, %edx movl$16384, %ecx This number is equivalent to: 0x4000c90fdaa22168c00

[Bug c/31006] long double constant is read as double in i386

2007-03-01 Thread chat95 at mac dot com
--- Comment #2 from chat95 at mac dot com 2007-03-01 08:01 --- I used following compiler: % gcc42 -v Using built-in specs. Target: i386-portbld-freebsd6.2 Configured with: ./..//gcc-4.2-20070110/configure --disable-nls --with-system-zlib --with-libiconv-prefix=/usr/local --with-gmp=/usr/

[Bug c/31006] long double constant is read as double in i386

2007-03-01 Thread chat95 at mac dot com
--- Comment #1 from chat95 at mac dot com 2007-03-01 08:00 --- Created an attachment (id=13129) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13129&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31006