[Bug target/12676] m68k.c: LP64 bug

wilson at specifixinc dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 22 20:37:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12676



------- Additional Comments From wilson at specifixinc dot com  2003-10-22 20:14 -------
Subject: Re:  m68k.c: LP64 bug

schwab at suse dot de wrote:
> -	  && INTVAL (operands[2]) + 0x8000 >= (unsigned) 0x10000) 
> +	  && (INTVAL (operands[2]) < -32768 || INTVAL (operands[2]) > 32767)) 

This is OK.

Another possible solution here is to use
	! CONST_OK_FOR_LETTER_P (INTVAL (operands[2]), 'J')
That change is OK too.



More information about the Gcc-bugs mailing list