GMP 6.0 miscompiles for arm-unknown-linux-gnueabihf

Torbjorn Granlund tg at gmplib.org
Fri Apr 4 09:00:56 UTC 2014


Marc Glisse <marc.glisse at inria.fr> writes:

  File is kilometers long, but the relevant part may be:
  
  	cmp	r0, r1
  	ite	ge
  	movge	r0, #0
  	movlt	r0, #1
  	bx	lr

That's one of the functions, yes.

And that's Thumb code, not Arm code.

I suppose the correct fix is to suppress that asm for thumb compiles.
I'll check in a fix in a moment.


Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list