This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: -O generates NaN
- To: Haruhiko Okumura <okumura at matsusaka-u dot ac dot jp>
- Subject: Re: -O generates NaN
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 03 Mar 2001 15:01:58 -0300
- Cc: libstdc++ at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <20010303100758A.okumura@matsusaka-u.ac.jp>
On Mar 2, 2001, Haruhiko Okumura <okumura@matsusaka-u.ac.jp> wrote:
> Could someone tell why this code generates lots of NaN's when compiled
> with any optimization flag (-O, -O2 etc) on?
Probably some of the math optimizations in GNU libc. Not libstdc++.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me