This seems relevant: http://gmplib.org/list-archives/gmp-bugs/2007-August/000813.html
The gcc version is too close to be a coincidence I think. Bill. 2009/4/18 Jason Moxham <ja...@njkfrudils.plus.com>: > > On Saturday 18 April 2009 06:36:13 mabshoff wrote: >> On Apr 17, 10:32 pm, Jason Moxham <ja...@njkfrudils.plus.com> wrote: >> > On Saturday 18 April 2009 05:52:08 Bill Hart wrote: >> >> <SNIP> >> >> > > As got_count is 0 then it is comparing two length 0 arrays and says >> > > they are not equal. So this appears to be a problem with memcmp which >> > > is just a C library function. >> > >> > memcmp may not be defined for zero sizes , looking at a few manual pages >> > , most don't mention that case >> >> The OSX one does and I assume this is also covered in the BSD world. >> But it seems rather peculiar that MPIR 1.0 blows up, but MPIR 1.1 does >> not given the same compiler as well as the same libc. Strange to say >> the least. >> > > Very strange , I assume that if we replace memcmp with a suitable alternative > the problem goes away , ie it's not hiding an earlier error. > > >> <SNIP> >> >> Cheers, >> >> Michael >> > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-devel@googlegroups.com To unsubscribe from this group, send email to mpir-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en -~----------~----~----~----~------~----~------~--~---