https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44532
Steven Bosscher changed:
What|Removed |Added
Status|NEW |RESOLVED
Last reconfirmed|2010-06-14
--- Comment #3 from hjl dot tools at gmail dot com 2010-06-15 00:57 ---
We should consider:
1. The x86-64 psABI doesn't say how char/short should be extended
as function parameters.
2. Gcc may not touch upper bits, PR 42324.
3. Gcc never depends on the upper bits which are properly exte
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-06-14 11:30 ---
Confirmed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCON
--- Comment #1 from jakub at gcc dot gnu dot org 2010-06-14 08:01 ---
tempreg = convert_to_mode (data->nominal_mode, tempreg, unsignedp);
if (GET_CODE (tempreg) == SUBREG
&& GET_MODE (tempreg) == data->nominal_mode
&& REG_P (SUBREG_REG (tempreg))