Michael de Mare <address@hidden> writes:
I initialize three seperate variables separately:
mpz_init(X1);
mpz_init(X2);
mpz_init(J);
mpz_init(T);
after initialization, the variables all point to the same data:
4: T = {{_mp_alloc = 1, _mp_size = 0, _mp_d = 0x804b6d0}}
3: X2 = {{_mp_alloc = 1, _mp_size = 0, _mp_d = 0x804b6d0}}
2: X1 = {{_mp_alloc = 1, _mp_size = 0, _mp_d = 0x804b6d0}}
1: X0 = {{_mp_alloc = 1, _mp_size = -1, _mp_d = 0x804b6e0}}
This is almost certainly a user error.
If you want to get our help rate, you first need to read the
manual again, in particular you need to reread the section
on how to report GMP bugs.