Commit 7450b54f by Tristan Gingold Committed by Tristan Gingold

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
parent 649beb33
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> 2011-03-28 Jeff Law <law@redhat.com>
* var-tracking.c (canonicalize_values_mark): Delete unused * var-tracking.c (canonicalize_values_mark): Delete unused
......
...@@ -11001,7 +11001,7 @@ ia64_promote_function_mode (const_tree type, ...@@ -11001,7 +11001,7 @@ ia64_promote_function_mode (const_tree type,
For all other types passed in the general registers, unused bits are For all other types passed in the general registers, unused bits are
undefined." */ undefined." */
if (!AGGREGATE_TYPE_P (type) if (for_return != 2
&& GET_MODE_CLASS (mode) == MODE_INT && GET_MODE_CLASS (mode) == MODE_INT
&& GET_MODE_SIZE (mode) < UNITS_PER_WORD) && GET_MODE_SIZE (mode) < UNITS_PER_WORD)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment