This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: std::arg() bug : not repetitive ?
- From: Angelo Graziosi <angelo dot graziosi at alice dot it>
- To: Cygwin <cygwin at cygwin dot com>
- Date: Wed, 02 Sep 2009 01:31:37 +0200
- Subject: Re: std::arg() bug : not repetitive ?
Dave Korn wrote:
IIUC this is basically fixed in GCC
HEAD now and 4.5.0 shouldn't suffer the same problem.
Just for completeness...
With 4.5-20090827 snapshot, it does:
$ g++-4.5 arg_bug.cpp -o0 -o arg_bug
$ ./arg_bug.exe
0.785398
0.785398
1
-3.06287e-17
being (on 1.7):
$ g++-4.5 -v
Using built-in specs.
Target: i686-pc-cygwin
Configured with: /tmp/gcc-4.5-20090827/configure
--prefix=/usr/local/gfortran --exec-prefix=/usr/local/gfortran
--sysconfdir=/usr/local/gfortran/etc --libdir=/usr/local/gfortran/lib
--libexecdir=/usr/local/gfortran/lib
--mandir=/usr/local/gfortran/share/man
--infodir=/usr/local/gfortran/share/info --program-suffix=-4.5
--enable-bootstrap --enable-checking=release --enable-decimal-float=bid
--enable-languages=c,c++,fortran --enable-libgomp --enable-libssp
--enable-nls --enable-threads=posix
--enable-version-specific-runtime-libs --disable-fixed-point
--disable-libmudflap --disable-shared --disable-sjlj-exceptions
--disable-win32-registry --with-arch=i686 --with-dwarf2
--with-system-zlib --with-tune=generic --without-included-gettext
--without-x
Thread model: posix
gcc version 4.5.0 20090827 (experimental) (GCC)
Cheers,
Angelo.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple