re PR ada/23995 (ICE on misaligned rep clause)

PR ada/23995
	* trans.c (call_to_gnu): Restore statement lost in translation.

From-SVN: r106731
This commit is contained in:
Eric Botcazou 2005-11-10 11:32:56 +00:00 committed by Eric Botcazou
parent e82726f937
commit f45ddfe08e
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-11-10 Eric Botcazou <ebotcazou@adacore.com>
PR ada/23995
* trans.c (call_to_gnu): Restore statement lost in translation.
2005-11-08 Eric Botcazou <ebotcazou@adacore.com>
* init.c: Use the Linux-specific section for the IA-64/Linux target.

View File

@ -1687,6 +1687,9 @@ call_to_gnu (Node_Id gnat_node, tree *gnu_result_type_p, tree gnu_target)
gnu_copy, gnu_actual);
annotate_with_node (gnu_temp, gnat_actual);
append_to_statement_list (gnu_temp, &gnu_after_list);
/* Account for next statement just below. */
gnu_name = gnu_actual;
}
}