This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: run-time g++ bug


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]