Hello!
I reproduced the bug with a small standalone testcase (not using gmp). It passes on Linux, but fails on MiNT.
That's help a lot!
Again, the macro ARGCHECK() is hit. Unfortunately macros cannot be debugged :-(
You can change this one macro manually to an inline function and then you can easily debug it. Just remove the '\' and add a function header.
Another way is to only output the preprocessed file (gcc -E option), reformat it with a C pretty print tool and then compile and debug it.
Regards, Frank -- ATARI FALCON 060 // MILAN 060 ----------------------------- http://sparemint.org/ e-Mail: fnaumann@boerde.de