Commit 2b5bcdee by Jakub Jelinek Committed by Jakub Jelinek

stmt.c (expand_asm_operands): Set REG_ATTRS on the temporary from output decl.

	* stmt.c (expand_asm_operands): Set REG_ATTRS on the temporary from
	output decl.

From-SVN: r151837
parent 183d3da9
2009-09-18 Jakub Jelinek <jakub@redhat.com>
* stmt.c (expand_asm_operands): Set REG_ATTRS on the temporary from
output decl.
2009-09-17 Michael Haubenwallner <michael.haubenwallner@salomon.at>
PR target/40913
......
......@@ -825,6 +825,8 @@ expand_asm_operands (tree string, tree outputs, tree inputs,
{
op = assign_temp (type, 0, 0, 1);
op = validize_mem (op);
if (!MEM_P (op) && TREE_CODE (TREE_VALUE (tail)) == SSA_NAME)
set_reg_attrs_for_decl_rtl (SSA_NAME_VAR (TREE_VALUE (tail)), op);
TREE_VALUE (tail) = make_tree (type, op);
}
output_rtx[i] = op;
......
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