regression for 3.1: bad sign extension?
Geoff Keating
geoffk@geoffk.org
Thu Mar 14 00:37:00 GMT 2002
Bob Wilson <bwilson@tensilica.com> writes:
> The problem occurs when there is an unsigned short (16-bits, HI mode)
> that gets (incorrectly?) sign-extended by this code.
There's no such thing as an 'unsigned short' in RTL. All HImode
values are the same, and there is only one way to write a HImode constant
of 0xffff: (const_int -1).
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>
More information about the Gcc
mailing list