summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-10 13:58:51 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-10 13:58:51 +0000
commitf4146cb82d6d9daaea36b5ca99857f3d863d3561 (patch)
tree6564c50e5a001aee3b782765b654fac1563c39f5
parent5c49129f8696ce1e167b2c945b5c450987ec74f1 (diff)
downloadgcc-f4146cb82d6d9daaea36b5ca99857f3d863d3561.tar.gz
2013-01-10 Richard Biener <rguenther@suse.de>
* builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195086 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/builtins.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 42f1bd862d8..fc79821d872 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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
* tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
locations for virtual PHI arguments.
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 2b615a17c10..8ae4988418a 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -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