Mariusz Zynel wrote:
Peter Gerwinski peter@gerwinski.de wrote:
What I'd like to have checked is whether GNU C's "mod" operation produces different results on different platforms. If so, we have detected a bug in the backend, otherwise in the frontend.
My 0.02$ in this thread...
Under Solaris 7 on both Intel and Sparc machines, GCC gives that 6 mod -90 is 6, while GPC gives -84.
OK, I found out that the standard MUNIX (?) -Pascal compiler "pc" under Solaris gtives you a 6 as the result of 6 MOD -90.
Just wanted to throw that in. Tim