Bug while using GMP 4.2.2

Torbjorn Granlund tg at swox.com
Wed Oct 24 18:45:03 CEST 2007

"Pierre astone" <astone75 at gmail.com> writes:

  I've had several problem using your lib with the program attached to this mail.
  First of all i had segmentation fault if i didn't reinitialize the
  value of d1, d2 or d3 before every use (comment line 134 for example).
  And then after trying many examples on this software i found that
  sometimes there were errors. And here is what i discovered: the value
  of the variable name tmpm is changed btw the line 133 and 135 even if
  i don't use this variable btw those 2 lines.

Nice try!  :-)

No GMP bug.

Although I was quite suspicious that you just wanted somebody else to
debug your program, I actually did debug your program and found a bug,
but since I think it is the users' repsonsability to debug their
programs, I am not telling you about your bug.  ;-)

(If somebody on this list actually want to provide programming help,
please do so off-list.)


More information about the gmp-bugs mailing list