------- Additional Comments From jlquinn at gcc dot gnu dot org 2004-12-21 19:19 ------- The power4 segfault occurs in frexpl() in libc, which is a result of calling __builtin_frexpl() inside std::frexp(long double). I was wondering if it might be a problem in long double representation. I think ppc uses 64 bit long double, which made me think that it should be calling frexp under the covers rather than frexpl.
I also created a simple test program for frexp that sems to work for double and not for long double. This is making me think the problem isn't in this patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17140