ia64.c (ia64_promote_function_mode): Fix promotion when for_return is 2.
2011-03-28 Tristan Gingold <gingold@adacore.com> * config/ia64/ia64.c (ia64_promote_function_mode): Fix promotion when for_return is 2. From-SVN: r171608
This commit is contained in:
parent
649beb33b6
commit
7450b54f84
@ -1,3 +1,8 @@
|
||||
2011-03-28 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* config/ia64/ia64.c (ia64_promote_function_mode): Fix promotion
|
||||
when for_return is 2.
|
||||
|
||||
2011-03-28 Jeff Law <law@redhat.com>
|
||||
|
||||
* var-tracking.c (canonicalize_values_mark): Delete unused
|
||||
|
@ -11001,7 +11001,7 @@ ia64_promote_function_mode (const_tree type,
|
||||
For all other types passed in the general registers, unused bits are
|
||||
undefined." */
|
||||
|
||||
if (!AGGREGATE_TYPE_P (type)
|
||||
if (for_return != 2
|
||||
&& GET_MODE_CLASS (mode) == MODE_INT
|
||||
&& GET_MODE_SIZE (mode) < UNITS_PER_WORD)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user