Commit ad2e5b71 by Richard Biener Committed by Richard Biener

builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.

2013-01-10  Richard Biener  <rguenther@suse.de>

	* builtins.c (expand_builtin_init_trampoline): Use
	set_mem_attributes.

From-SVN: r195086
parent d02a9a19
2013-01-10 Richard Biener <rguenther@suse.de> 2013-01-10 Richard Biener <rguenther@suse.de>
* builtins.c (expand_builtin_init_trampoline): Use
set_mem_attributes.
2013-01-10 Richard Biener <rguenther@suse.de>
PR bootstrap/55792 PR bootstrap/55792
* tree-into-ssa.c (rewrite_add_phi_arguments): Do not set * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
locations for virtual PHI arguments. locations for virtual PHI arguments.
......
...@@ -4853,8 +4853,7 @@ expand_builtin_init_trampoline (tree exp, bool onstack) ...@@ -4853,8 +4853,7 @@ expand_builtin_init_trampoline (tree exp, bool onstack)
within the local function's FRAME decl. Either way, let's see if within the local function's FRAME decl. Either way, let's see if
we can fill in the MEM_ATTRs for this memory. */ we can fill in the MEM_ATTRs for this memory. */
if (TREE_CODE (t_tramp) == ADDR_EXPR) if (TREE_CODE (t_tramp) == ADDR_EXPR)
set_mem_attributes_minus_bitpos (m_tramp, TREE_OPERAND (t_tramp, 0), set_mem_attributes (m_tramp, TREE_OPERAND (t_tramp, 0), true);
true, 0);
/* Creator of a heap trampoline is responsible for making sure the /* Creator of a heap trampoline is responsible for making sure the
address is aligned to at least STACK_BOUNDARY. Normally malloc address is aligned to at least STACK_BOUNDARY. Normally malloc
......
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