This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/12676] m68k.c: LP64 bug
- From: "wilson at specifixinc dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2003 20:14:09 -0000
- Subject: [Bug target/12676] m68k.c: LP64 bug
- References: <20031019011644.12676.matt@3am-software.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.