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
This commit is contained in:
Richard Biener 2013-01-10 13:58:51 +00:00 committed by Richard Biener
parent d02a9a19d6
commit ad2e5b7129
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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> 2013-01-10 Richard Biener <rguenther@suse.de>
PR bootstrap/55792 PR bootstrap/55792

View File

@ -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