Commit d020df06 by Eric Botcazou Committed by Eric Botcazou

trans.c (gnat_to_gnu): Fix typo in latest change.

	* gcc-interface/trans.c (gnat_to_gnu) <N_Simple_Return_Statement>: Fix
	typo in latest change.

From-SVN: r224066
parent 2c19378b
2015-06-03 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/trans.c (gnat_to_gnu) <N_Simple_Return_Statement>: Fix
typo in latest change.
2015-06-01 Eric Botcazou <ebotcazou@adacore.com> 2015-06-01 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/Makefile.in: Fix ARM/Darwin configuration. * gcc-interface/Makefile.in: Fix ARM/Darwin configuration.
......
...@@ -6809,7 +6809,7 @@ gnat_to_gnu (Node_Id gnat_node) ...@@ -6809,7 +6809,7 @@ gnat_to_gnu (Node_Id gnat_node)
self-referential since we want to allocate the fixed size. */ self-referential since we want to allocate the fixed size. */
if (TREE_CODE (gnu_ret_val) == COMPONENT_REF if (TREE_CODE (gnu_ret_val) == COMPONENT_REF
&& type_is_padding_self_referential && type_is_padding_self_referential
(TREE_OPERAND (gnu_ret_val, 0))) (TREE_TYPE (TREE_OPERAND (gnu_ret_val, 0))))
gnu_ret_val = TREE_OPERAND (gnu_ret_val, 0); gnu_ret_val = TREE_OPERAND (gnu_ret_val, 0);
/* If the function returns by direct reference, return a pointer /* If the function returns by direct reference, return a pointer
......
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