mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 22:51:06 +08:00
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:
parent
d02a9a19d6
commit
ad2e5b7129
@ -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>
|
||||
|
||||
PR bootstrap/55792
|
||||
|
@ -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
|
||||
we can fill in the MEM_ATTRs for this memory. */
|
||||
if (TREE_CODE (t_tramp) == ADDR_EXPR)
|
||||
set_mem_attributes_minus_bitpos (m_tramp, TREE_OPERAND (t_tramp, 0),
|
||||
true, 0);
|
||||
set_mem_attributes (m_tramp, TREE_OPERAND (t_tramp, 0), true);
|
||||
|
||||
/* Creator of a heap trampoline is responsible for making sure the
|
||||
address is aligned to at least STACK_BOUNDARY. Normally malloc
|
||||
|
Loading…
x
Reference in New Issue
Block a user