This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: run-time g++ bug
- To: Steven Homolya <steven dot homolya at sci dot monash dot edu dot au>
- Subject: Re: run-time g++ bug
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 31 Aug 2000 01:10:09 -0300
- Cc: bug-gcc at gnu dot org
- Organization: GCC Team, Red Hat
- References: <39ADD838.D0EA3171@sci.monash.edu.au>
On Aug 31, 2000, Steven Homolya <steven.homolya@sci.monash.edu.au> wrote:
> The attached segfault.c++ compiles with no errors, but the executable
> terminates with a segmentation fault when compiled with optimisations
> on, i.e:
IIRC, it's a bug in the inline-asm implementation of pow() in the
glibc that shipped with Red Hat Linux 6.0. You can confirm this by
compiling with -D__NO_MATH_INLINES. In this is the case, you'll have
to upgrade glibc or always compile with this flag.
--
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